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

Class frozendict

Lib/test/test_builtin.py:936–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934 pass
935
936 class frozendict(dict):
937 def __setitem__(self, key, value):
938 raise frozendict_error("frozendict is readonly")
939
940 # read-only builtins
941 if isinstance(__builtins__, types.ModuleType):

Callers 15

functools.pyFile · 0.85
symtable.pyFile · 0.85
getpass.pyFile · 0.85
gettext.pyFile · 0.85
ssl.pyFile · 0.85
plistlib.pyFile · 0.85
_deepcopy_frozendictFunction · 0.85
tarfile.pyFile · 0.85
dataclasses.pyFile · 0.85
opcode.pyFile · 0.85
platform.pyFile · 0.85

Calls

no outgoing calls

Tested by 15

test_copy_frozendictMethod · 0.68
test_frozendictMethod · 0.68
test_same_as_reprMethod · 0.68
test_basic_line_wrapMethod · 0.68
test_eval_frozendictMethod · 0.68
test_exec_frozendictMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…