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

Method handle_accept

Lib/test/support/asyncore.py:494–497  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

492 self.log_info('unhandled connect event', 'warning')
493
494 def handle_accept(self):
495 pair = self.accept()
496 if pair is not None:
497 self.handle_accepted(*pair)
498
499 def handle_accepted(self, sock, addr):
500 sock.close()

Callers 1

handle_read_eventMethod · 0.95

Calls 2

acceptMethod · 0.95
handle_acceptedMethod · 0.95

Tested by

no test coverage detected