MCPcopy Index your code
hub / github.com/RustPython/RustPython / clone

Method clone

Lib/email/generator.py:122–127  ·  view source on GitHub ↗

Clone this generator with the exact same options.

(self, fp)

Source from the content-addressed store, hash-verified

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

Callers 15

_handle_multipartMethod · 0.95
_handle_messageMethod · 0.95
mainFunction · 0.45
bench_rustpython_codeFunction · 0.45
bench_rustpython_codeFunction · 0.45
send_messageMethod · 0.45
policy.pyFile · 0.45
__str__Method · 0.45
flattenMethod · 0.45
test_as_string_policyMethod · 0.45

Calls 1

__class__Method · 0.45