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

Method _add_callback

Lib/asyncio/base_events.py:1951–1954  ·  view source on GitHub ↗

Add a Handle to _ready.

(self, handle)

Source from the content-addressed store, hash-verified

1949 exc_info=True)
1950
1951 def _add_callback(self, handle):
1952 """Add a Handle to _ready."""
1953 if not handle._cancelled:
1954 self._ready.append(handle)
1955
1956 def _add_callback_signalsafe(self, handle):
1957 """Like _add_callback() but called from a signal handler."""

Calls 1

appendMethod · 0.45