Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/mysqlclient
/ __exit__
Method
__exit__
src/MySQLdb/connections.py:265–266 ·
view source on GitHub ↗
(self, exc_type, exc_value, traceback)
Source
from the content-addressed store, hash-verified
263
return
self
264
265
def
__exit__(self, exc_type, exc_value, traceback):
266
self.close()
267
268
def
autocommit(self, on):
269
on = bool(on)
Callers
nothing calls this directly
Calls
1
close
Method · 0.80
Tested by
no test coverage detected