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

Method __exit__

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

Source from the content-addressed store, hash-verified

381 return self
382
383 def __exit__(self, *exc_info):
384 del exc_info
385 self.close()
386
387 def _create_ssl_ctx(self, sslp):
388 if isinstance(sslp, ssl.SSLContext):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected