MCPcopy Create free account
hub / github.com/ipython/traitlets / __copy__

Method __copy__

traitlets/config/loader.py:314–315  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312 return type(self)(dict.copy(self))
313
314 def __copy__(self) -> dict[str, t.Any]:
315 return self.copy()
316
317 def __deepcopy__(self, memo: t.Any) -> Config:
318 new_config = type(self)()

Callers

nothing calls this directly

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected