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

Method _add_callback

Lib/asyncio/base_events.py:1969–1972  ·  view source on GitHub ↗

Add a Handle to _ready.

(self, handle)

Source from the content-addressed store, hash-verified

1967 exc_info=True)
1968
1969 def _add_callback(self, handle):
1970 """Add a Handle to _ready."""
1971 if not handle._cancelled:
1972 self._ready.append(handle)
1973
1974 def _add_callback_signalsafe(self, handle):
1975 """Like _add_callback() but called from a signal handler."""

Calls 1

appendMethod · 0.45