MCPcopy
hub / github.com/MagicStack/asyncpg / __del__

Method __del__

asyncpg/cursor.py:77–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 return cursor._init(self._timeout).__await__()
76
77 def __del__(self):
78 if self._state is not None:
79 self._state.detach()
80 self._connection._maybe_gc_stmt(self._state)
81
82
83class BaseCursor(connresource.ConnectionResource):

Callers

nothing calls this directly

Calls 1

_maybe_gc_stmtMethod · 0.80

Tested by

no test coverage detected