Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ by_id
Method
by_id
pymysql/charset.py:44–45 ·
view source on GitHub ↗
(self, id)
Source
from the content-addressed store, hash-verified
42
self._by_name[c.name] = c
43
44
def
by_id(self, id):
45
return
self._by_id[id]
46
47
def
by_name(self, name):
48
name = name.lower()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected