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

Method __init__

Lib/_pyrepl/base_eventqueue.py:34–40  ·  view source on GitHub ↗
(self, encoding: str, keymap_dict: dict[bytes, str])

Source from the content-addressed store, hash-verified

32
33class BaseEventQueue:
34 def __init__(self, encoding: str, keymap_dict: dict[bytes, str]) -> None:
35 self.compiled_keymap = keymap.compile_keymap(keymap_dict)
36 self.keymap = self.compiled_keymap
37 trace("keymap {k!r}", k=self.keymap)
38 self.encoding = encoding
39 self.events: deque[Event] = deque()
40 self.buf = bytearray()
41
42 def get(self) -> Event | None:
43 """

Callers

nothing calls this directly

Calls 1

traceFunction · 0.90

Tested by

no test coverage detected