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

Method unregister

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

Source from the content-addressed store, hash-verified

349 return key
350
351 def unregister(self, fileobj):
352 key = super().unregister(fileobj)
353 try:
354 self._selector.unregister(key.fd)
355 except OSError:
356 # This can happen if the FD was closed since it
357 # was registered.
358 pass
359 return key
360
361 def modify(self, fileobj, events, data=None):
362 try:

Callers

nothing calls this directly

Calls 2

superClass · 0.85
unregisterMethod · 0.45

Tested by

no test coverage detected