MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / __del__

Method __del__

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

Source from the content-addressed store, hash-verified

186 ' '.join(attrs), id(self))
187
188 def __del__(self):
189 if self._state is not None:
190 self._state.detach()
191 self._connection._maybe_gc_stmt(self._state)
192
193
194class CursorIterator(BaseCursor):

Callers

nothing calls this directly

Calls 1

_maybe_gc_stmtMethod · 0.80

Tested by

no test coverage detected