Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ flush
Method
flush
Lib/xml/etree/ElementTree.py:1337–1340 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1335
yield
event
1336
1337
def
flush(self):
1338
if
self._parser is None:
1339
raise
ValueError(
"flush() called after end of stream"
)
1340
self._parser.flush()
1341
1342
1343
def
XML(text, parser=None):
Callers
2
test_flush_reparse_deferral_enabled
Method · 0.95
test_flush_reparse_deferral_disabled
Method · 0.95
Calls
1
flush
Method · 0.45
Tested by
2
test_flush_reparse_deferral_enabled
Method · 0.76
test_flush_reparse_deferral_disabled
Method · 0.76