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

Method write

Lib/email/generator.py:70–72  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

68 self.policy = policy
69
70 def write(self, s):
71 # Just delegate to the file object
72 self._fp.write(s)
73
74 def flatten(self, msg, unixfrom=False, linesep=None):
75 r"""Print the message object tree rooted at msg to the output file

Callers 11

flattenMethod · 0.95
_write_linesMethod · 0.95
_write_headersMethod · 0.95
_handle_multipartMethod · 0.95
rot13Function · 0.45
pushMethod · 0.45
_writeMethod · 0.45
_handle_messageMethod · 0.45
writeMethod · 0.45
_write_headersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected