Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMySQL/PyMySQL
/ escape_str
Function
escape_str
pymysql/converters.py:86–87 ·
view source on GitHub ↗
(value, mapping=None)
Source
from the content-addressed store, hash-verified
84
85
86
def
escape_str(value, mapping=None) -> str:
87
return
"'"
+ escape_string(str(value)) +
"'"
88
89
90
def
escape_None(value, mapping=None):
Callers
nothing calls this directly
Calls
1
escape_string
Function · 0.85
Tested by
no test coverage detected