Returns a shallow copy from self.
(self)
| 3987 | self.traps[flag] = 0 |
| 3988 | |
| 3989 | def _shallow_copy(self): |
| 3990 | """Returns a shallow copy from self.""" |
| 3991 | nc = Context(self.prec, self.rounding, self.Emin, self.Emax, |
| 3992 | self.capitals, self.clamp, self.flags, self.traps, |
| 3993 | self._ignored_flags) |
| 3994 | return nc |
| 3995 | |
| 3996 | def copy(self): |
| 3997 | """Returns a deep copy from self.""" |