Returns a deep copy from self.
(self)
| 3994 | return nc |
| 3995 | |
| 3996 | def copy(self): |
| 3997 | """Returns a deep copy from self.""" |
| 3998 | nc = Context(self.prec, self.rounding, self.Emin, self.Emax, |
| 3999 | self.capitals, self.clamp, |
| 4000 | self.flags.copy(), self.traps.copy(), |
| 4001 | self._ignored_flags) |
| 4002 | return nc |
| 4003 | __copy__ = copy |
| 4004 | |
| 4005 | def _raise_error(self, condition, explanation = None, *args): |