MCPcopy Index your code
hub / github.com/RustPython/RustPython / __del__

Method __del__

Lib/asyncio/streams.py:297–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295 return self._closed
296
297 def __del__(self):
298 # Prevent reports about unhandled exceptions.
299 # Better than self._closed._log_traceback = False hack
300 try:
301 closed = self._closed
302 except AttributeError:
303 pass # failed constructor
304 else:
305 if closed.done() and not closed.cancelled():
306 closed.exception()
307
308
309class StreamWriter:

Callers

nothing calls this directly

Calls 3

doneMethod · 0.45
cancelledMethod · 0.45
exceptionMethod · 0.45

Tested by

no test coverage detected