Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ __enter__
Method
__enter__
pymysql/connections.py:380–381 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
378
self.connect()
379
380
def
__enter__(self):
381
return
self
382
383
def
__exit__(self, *exc_info):
384
del exc_info
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected