MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / copy

Method copy

tools/python-3.11.9-amd64/Lib/_pydecimal.py:4029–4035  ·  view source on GitHub ↗

Returns a deep copy from self.

(self)

Source from the content-addressed store, hash-verified

4027 return nc
4028
4029 def copy(self):
4030 """Returns a deep copy from self."""
4031 nc = Context(self.prec, self.rounding, self.Emin, self.Emax,
4032 self.capitals, self.clamp,
4033 self.flags.copy(), self.traps.copy(),
4034 self._ignored_flags)
4035 return nc
4036 __copy__ = copy
4037
4038 def _raise_error(self, condition, explanation = None, *args):

Callers 6

setcontextFunction · 0.45
__pow__Method · 0.45
next_minusMethod · 0.45
next_plusMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

ContextClass · 0.70

Tested by

no test coverage detected