MCPcopy Create free account
hub / github.com/python/cpython / add_channel

Method add_channel

Lib/test/support/asyncore.py:271–275  ·  view source on GitHub ↗
(self, map=None)

Source from the content-addressed store, hash-verified

269 return '<%s at %#x>' % (' '.join(status), id(self))
270
271 def add_channel(self, map=None):
272 #self.log_info('adding channel %s' % self)
273 if map is None:
274 map = self._map
275 map[self._fileno] = self
276
277 def del_channel(self, map=None):
278 fd = self._fileno

Callers 2

set_socketMethod · 0.95
set_fileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected