Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PyMySQL/PyMySQL
/ by_name
Method
by_name
pymysql/charset.py:47–51 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
45
return
self._by_id[id]
46
47
def
by_name(self, name):
48
name = name.lower()
49
if
name ==
"utf8"
:
50
name =
"utf8mb4"
51
return
self._by_name.get(name)
52
53
54
_charsets = Charsets()
Callers
nothing calls this directly
Calls
1
get
Method · 0.80
Tested by
no test coverage detected