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

Method __setitem__

bpython/keys.py:48–49  ·  view source on GitHub ↗
(self, key: str, value: T)

Source from the content-addressed store, hash-verified

46 del self.map[key]
47
48 def __setitem__(self, key: str, value: T) -> None:
49 self.map[key] = value
50
51
52cli_key_dispatch: KeyMap[tuple[str, ...]] = KeyMap(tuple())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected