MCPcopy Index your code
hub / github.com/RustPython/RustPython / insert

Method insert

Lib/_pyrepl/unix_eventqueue.py:109–114  ·  view source on GitHub ↗

Inserts an event into the queue.

(self, event: Event)

Source from the content-addressed store, hash-verified

107 return old
108
109 def insert(self, event: Event) -> None:
110 """
111 Inserts an event into the queue.
112 """
113 trace('added event {event}', event=event)
114 self.events.append(event)
115
116 def push(self, char: int | bytes) -> None:
117 """

Callers 1

pushMethod · 0.95

Calls 2

traceFunction · 0.90
appendMethod · 0.45

Tested by

no test coverage detected