Clone this generator with the exact same options.
(self, fp)
| 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 ;/ |