parameters: (self, handle)
docstring: Add a Handle to _scheduled (TimerHandle) or _ready.
docstring_summary: Add a Handle to _scheduled (TimerHandle) or _ready.
docstring_tokens: Add a Handle to _scheduled ( TimerHandle ) or _ready .
function: def _add_callback(self, handle):
          """Add a Handle to _scheduled (TimerHandle) or _ready."""
          assert isinstance(handle, events.Handle), 'A Handle is required here'
          if handle._cancelled:
              return
          assert not isinstance(handle, events.TimerHandle)
          self._ready.append(handle)
function_tokens: def _add_callback ( self , handle ) : assert isinstance ( handle , events . Handle ) , 'A Handle is required here' if handle . _cancelled : return assert not isinstance ( handle , events . TimerHandle ) self . _ready . append ( handle )