MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __init__

Method __init__

14-inheritance/strkeydict_dictsub.py:63–65  ·  view source on GitHub ↗
(self, iterable=None, **kwds)

Source from the content-addressed store, hash-verified

61class StrKeyDict(dict):
62
63 def __init__(self, iterable=None, **kwds):
64 super().__init__()
65 self.update(iterable, **kwds)
66
67 def __missing__(self, key):
68 if isinstance(key, str):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected