Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ flush
Method
flush
Tools/unicode/genmap_support.py:27–32 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
25
self.count += 1
26
27
def
flush(self):
28
if
not self.cline:
29
return
30
self.buffered.append(
''
.join(self.cline))
31
self.clen = 0
32
del self.cline[:]
33
34
def
printout(self, fp):
35
self.flush()
Callers
2
write
Method · 0.95
printout
Method · 0.95
Calls
2
append
Method · 0.45
join
Method · 0.45
Tested by
no test coverage detected