Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ Exc
Class
Exc
Lib/test/mapping_tests.py:455–455 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
453
self.assertRaises(TypeError, dict.fromkeys)
454
455
class
Exc(Exception):
pass
456
457
class
baddict1(self.type2test):
458
def
__init__(self, *args, **kwargs):
Callers
8
__next__
Method · 0.70
__init__
Method · 0.70
__next__
Method · 0.70
__setitem__
Method · 0.70
__eq__
Method · 0.70
__hash__
Method · 0.70
__repr__
Method · 0.70
__eq__
Method · 0.70
Calls
no outgoing calls
Tested by
8
__next__
Method · 0.56
__init__
Method · 0.56
__next__
Method · 0.56
__setitem__
Method · 0.56
__eq__
Method · 0.56
__hash__
Method · 0.56
__repr__
Method · 0.56
__eq__
Method · 0.56