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

Method cancel

Lib/multiprocessing/util.py:300–310  ·  view source on GitHub ↗

Cancel finalization of the object

(self)

Source from the content-addressed store, hash-verified

298 return res
299
300 def cancel(self):
301 '''
302 Cancel finalization of the object
303 '''
304 try:
305 del _finalizer_registry[self._key]
306 except KeyError:
307 pass
308 else:
309 self._weakref = self._callback = self._args = \
310 self._kwargs = self._key = None
311
312 def still_active(self):
313 '''

Callers 6

cancel_join_threadMethod · 0.45
_closeMethod · 0.45
_send_bytesMethod · 0.45
_recv_bytesMethod · 0.45
acceptMethod · 0.45
waitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected