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

Method __copy__

lib/matplotlib/font_manager.py:1108–1112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1106 self._math_fontfamily = fontfamily
1107
1108 def __copy__(self):
1109 # Bypass __init__ for speed, since values are already validated
1110 new = FontProperties.__new__(FontProperties)
1111 new.__dict__.update(self.__dict__)
1112 return new
1113
1114 def copy(self):
1115 """Return a copy of self."""

Callers 1

copyMethod · 0.95

Calls 2

__new__Method · 0.45
updateMethod · 0.45

Tested by

no test coverage detected