Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __getnewargs__
Method
__getnewargs__
Lib/test/test_copy.py:199–200 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
197
self.foo = foo
198
return
self
199
def
__getnewargs__(self):
200
return
self.foo,
201
def
__eq__(self, other):
202
return
self.foo == other.foo
203
x = C(42)
Callers
3
test_getnewargs
Method · 0.45
test_getnewargs
Method · 0.45
test_name_conflicts
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected