MCPcopy Create free account
hub / github.com/bpython/bpython / __init__

Method __init__

bpython/keys.py:30–32  ·  view source on GitHub ↗
(self, default: T)

Source from the content-addressed store, hash-verified

28
29class KeyMap(Generic[T]):
30 def __init__(self, default: T) -> None:
31 self.map: dict[str, T] = {}
32 self.default = default
33
34 def __getitem__(self, key: str) -> T:
35 if not key:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected