Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ P
Class
P
Lib/test/test_functools.py:2522–2523 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2520
self.assertEqual(g(o),
"set"
)
# because c.Set is a subclass of
2521
# c.Sized and c.Container
2522
class
P:
2523
pass
2524
p = P()
2525
self.assertEqual(g(p),
"base"
)
2526
c.Iterable.register(P)
Callers
1
test_mro_conflicts
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_mro_conflicts
Method · 0.56