MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _weak_maybe_gc_stmt

Function _weak_maybe_gc_stmt

asyncpg/connection.py:2822–2825  ·  view source on GitHub ↗
(weak_ref, stmt)

Source from the content-addressed store, hash-verified

2820
2821
2822def _weak_maybe_gc_stmt(weak_ref, stmt):
2823 self = weak_ref()
2824 if self is not None:
2825 self._maybe_gc_stmt(stmt)
2826
2827
2828_uid = 0

Callers

nothing calls this directly

Calls 1

_maybe_gc_stmtMethod · 0.80

Tested by

no test coverage detected