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

Method write

Lib/codecs.py:376–381  ·  view source on GitHub ↗

Writes the object's contents encoded to self.stream.

(self, object)

Source from the content-addressed store, hash-verified

374 self.errors = errors
375
376 def write(self, object):
377
378 """ Writes the object's contents encoded to self.stream.
379 """
380 data, consumed = self.encode(object, self.errors)
381 self.stream.write(data)
382
383 def writelines(self, list):
384

Callers 4

writelinesMethod · 0.95
writeMethod · 0.45
writeMethod · 0.45
writelinesMethod · 0.45

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected