MCPcopy
hub / github.com/redis/redis-py / __del__

Method __del__

redis/_parsers/base.py:133–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 self._buffer = None
132
133 def __del__(self):
134 try:
135 self.on_disconnect()
136 except Exception:
137 pass
138
139 def on_connect(self, connection):
140 "Called when the socket connects"

Callers

nothing calls this directly

Calls 1

on_disconnectMethod · 0.95

Tested by

no test coverage detected