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

Method __getnewargs__

Lib/test/test_copy.py:205–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 self.foo = foo
204 return self
205 def __getnewargs__(self):
206 return self.foo,
207 def __eq__(self, other):
208 return self.foo == other.foo
209 x = C(42)

Callers 3

test_getnewargsMethod · 0.45
test_getnewargsMethod · 0.45
test_name_conflictsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected