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

Method _add_writer

Lib/test/test_asyncio/utils.py:417–418  ·  view source on GitHub ↗
(self, fd, callback, *args, context=None)

Source from the content-addressed store, hash-verified

415 raise AssertionError(f'fd {fd} is registered')
416
417 def _add_writer(self, fd, callback, *args, context=None):
418 self.writers[fd] = events.Handle(callback, args, self, context)
419
420 def _remove_writer(self, fd):
421 self.remove_writer_count[fd] += 1

Callers 14

add_writerMethod · 0.95
test_force_closeMethod · 0.45
test_write_readyMethod · 0.45
test_sendto_readyMethod · 0.45

Calls

no outgoing calls