MCPcopy Create free account
hub / github.com/libgit2/pygit2 / __del__

Method __del__

pygit2/transaction.py:196–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 self._tx = None
195
196 def __del__(self) -> None:
197 if self._tx is not None:
198 C.git_transaction_free(self._tx)
199 self._tx = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected