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

Method __bytes__

Lib/email/message.py:197–200  ·  view source on GitHub ↗

Return the entire formatted message as a bytes object.

(self)

Source from the content-addressed store, hash-verified

195 return fp.getvalue()
196
197 def __bytes__(self):
198 """Return the entire formatted message as a bytes object.
199 """
200 return self.as_bytes()
201
202 def as_bytes(self, unixfrom=False, policy=None):
203 """Return the entire formatted message as a bytes object.

Callers

nothing calls this directly

Calls 1

as_bytesMethod · 0.95

Tested by

no test coverage detected