MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / escape_str

Function escape_str

pymysql/converters.py:91–92  ·  view source on GitHub ↗
(value, mapping=None)

Source from the content-addressed store, hash-verified

89
90
91def escape_str(value, mapping=None) -> str:
92 return "'" + escape_string(str(value)) + "'"
93
94
95def escape_None(value, mapping=None):

Callers

nothing calls this directly

Calls 1

escape_stringFunction · 0.85

Tested by

no test coverage detected