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

Method printout

Tools/unicode/genmap_support.py:34–38  ·  view source on GitHub ↗
(self, fp)

Source from the content-addressed store, hash-verified

32 del self.cline[:]
33
34 def printout(self, fp):
35 self.flush()
36 for l in self.buffered:
37 fp.write(f'{l}\n')
38 del self.buffered[:]
39
40 def __len__(self):
41 return self.count

Callers 5

mainFunction · 0.95
mainFunction · 0.95
fillhintsMethod · 0.80
generateMethod · 0.80
printmapMethod · 0.80

Calls 2

flushMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected