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