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

Method __del__

Lib/test/test_asyncio/test_futures.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 return False
47
48 def __del__(self):
49 # Automatically close the evil event loop to avoid warnings.
50 if not self.is_closed() and not self.is_running():
51 self.close()
52
53
54class DuckFuture:

Callers

nothing calls this directly

Calls 3

is_closedMethod · 0.45
is_runningMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected