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

Method unregister

Lib/selectors.py:297–301  ·  view source on GitHub ↗
(self, fileobj)

Source from the content-addressed store, hash-verified

295 return key
296
297 def unregister(self, fileobj):
298 key = super().unregister(fileobj)
299 self._readers.discard(key.fd)
300 self._writers.discard(key.fd)
301 return key
302
303 if sys.platform == 'win32':
304 def _select(self, r, w, _, timeout=None):

Callers

nothing calls this directly

Calls 3

superClass · 0.85
unregisterMethod · 0.45
discardMethod · 0.45

Tested by

no test coverage detected