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

Method __enter__

pymysql/cursors.py:65–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.connection = None
64
65 def __enter__(self):
66 return self
67
68 def __exit__(self, *exc_info):
69 del exc_info

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected