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

Method del_channel

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

Source from the content-addressed store, hash-verified

275 map[self._fileno] = self
276
277 def del_channel(self, map=None):
278 fd = self._fileno
279 if map is None:
280 map = self._map
281 if fd in map:
282 #self.log_info('closing channel %d:%s' % (fd, self))
283 del map[fd]
284 self._fileno = None
285
286 def create_socket(self, family=socket.AF_INET, type=socket.SOCK_STREAM):
287 self.family_and_type = family, type

Callers 4

__init__Method · 0.95
closeMethod · 0.95
secure_connectionMethod · 0.80
cmd_stlsMethod · 0.80

Calls

no outgoing calls

Tested by 2

secure_connectionMethod · 0.64
cmd_stlsMethod · 0.64