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

Method __exit__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected