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

Method insert

Lib/_pyrepl/base_eventqueue.py:65–70  ·  view source on GitHub ↗

Inserts an event into the queue.

(self, event: Event)

Source from the content-addressed store, hash-verified

63 return old
64
65 def insert(self, event: Event) -> None:
66 """
67 Inserts an event into the queue.
68 """
69 trace('added event {event}', event=event)
70 self.events.append(event)
71
72 def push(self, char: int | bytes) -> None:
73 """

Callers 1

pushMethod · 0.95

Calls 2

traceFunction · 0.90
appendMethod · 0.45

Tested by

no test coverage detected