MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / clone

Method clone

tools/python-3.11.9-amd64/Lib/email/generator.py:120–125  ·  view source on GitHub ↗

Clone this generator with the exact same options.

(self, fp)

Source from the content-addressed store, hash-verified

118 msg.policy = old_msg_policy
119
120 def clone(self, fp):
121 """Clone this generator with the exact same options."""
122 return self.__class__(fp,
123 self._mangle_from_,
124 None, # Use policy setting, which we've adjusted
125 policy=self.policy)
126
127 #
128 # Protected interface - undocumented ;/

Callers 7

_handle_multipartMethod · 0.95
_handle_messageMethod · 0.95
policy.pyFile · 0.45
__str__Method · 0.45
flattenMethod · 0.45

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected