MCPcopy
hub / github.com/PyMySQL/PyMySQL / __exit__

Method __exit__

pymysql/connections.py:377–379  ·  view source on GitHub ↗
(self, *exc_info)

Source from the content-addressed store, hash-verified

375 return self
376
377 def __exit__(self, *exc_info):
378 del exc_info
379 self.close()
380
381 def _create_ssl_ctx(self, sslp):
382 if isinstance(sslp, ssl.SSLContext):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected