MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / __exit__

Method __exit__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected