MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/test/test_copy.py:33–34  ·  view source on GitHub ↗
(self, foo)

Source from the content-addressed store, hash-verified

31 def test_copy_copy(self):
32 class C(object):
33 def __init__(self, foo):
34 self.foo = foo
35 def __copy__(self):
36 return C(self.foo)
37 x = C(42)

Callers

nothing calls this directly

Calls 3

listClass · 0.85
superClass · 0.85
keysMethod · 0.45

Tested by

no test coverage detected