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

Method unregister

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

Source from the content-addressed store, hash-verified

249 return key
250
251 def unregister(self, fileobj):
252 try:
253 key = self._fd_to_key.pop(self._fileobj_lookup(fileobj))
254 except KeyError:
255 raise KeyError("{!r} is not registered".format(fileobj)) from None
256 return key
257
258 def modify(self, fileobj, events, data=None):
259 try:

Callers 1

modifyMethod · 0.95

Calls 3

_fileobj_lookupMethod · 0.95
popMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected