MCPcopy Create free account
hub / github.com/PyMySQL/mysqlclient / __exit__

Method __exit__

src/MySQLdb/cursors.py:111–113  ·  view source on GitHub ↗
(self, *exc_info)

Source from the content-addressed store, hash-verified

109 return self
110
111 def __exit__(self, *exc_info):
112 del exc_info
113 self.close()
114
115 def _check_executed(self):
116 if not self._executed:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected