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

Method __exit__

pymysql/cursors.py:68–70  ·  view source on GitHub ↗
(self, *exc_info)

Source from the content-addressed store, hash-verified

66 return self
67
68 def __exit__(self, *exc_info):
69 del exc_info
70 self.close()
71
72 def _get_db(self):
73 if not self.connection:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected