MCPcopy Index your code
hub / github.com/python/cpython / check

Method check

Lib/test/test_htmlparser.py:1018–1021  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

1016 # Each of these examples used to take about an hour.
1017 # Now they take a fraction of a second.
1018 def check(source):
1019 parser = html.parser.HTMLParser()
1020 parser.feed(source)
1021 parser.close()
1022 n = 120_000
1023 check("<a " * n)
1024 check("<a a=" * n)

Callers

nothing calls this directly

Calls 2

feedMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected