Cancel finalization of the object
(self)
| 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 | ''' |
no outgoing calls
no test coverage detected