MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __copy__

Method __copy__

lib/matplotlib/tests/test_units.py:31–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 return Quantity(self.magnitude, self.units)
30
31 def __copy__(self):
32 return Quantity(self.magnitude, self.units)
33
34 def __getattr__(self, attr):
35 return getattr(self.magnitude, attr)

Callers

nothing calls this directly

Calls 1

QuantityClass · 0.85

Tested by

no test coverage detected