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

Method write

Tools/unicode/genmap_support.py:17–25  ·  view source on GitHub ↗
(self, *data)

Source from the content-addressed store, hash-verified

15 self.count = 0
16
17 def write(self, *data):
18 for s in data:
19 if len(s) > self.column:
20 raise ValueError("token is too long")
21 if len(s) + self.clen > self.column:
22 self.flush()
23 self.clen += len(s)
24 self.cline.append(s)
25 self.count += 1
26
27 def flush(self):
28 if not self.cline:

Callers 14

mainFunction · 0.95
mainFunction · 0.95
pymapFunction · 0.45
gencodecsFunction · 0.45
fillhintsMethod · 0.45
dumpMethod · 0.45
printoutMethod · 0.45
update_decode_mapMethod · 0.45
generateMethod · 0.45
write_nocharMethod · 0.45
write_multicMethod · 0.45
write_charMethod · 0.45

Calls 2

flushMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected