Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/davispuh/MySQL-for-Python-3
/ bytes_literal
Method
bytes_literal
MySQLdb/connections.py:196–197 ·
view source on GitHub ↗
(u, dummy=None)
Source
from the content-addressed store, hash-verified
194
195
def
_get_bytes_literal():
196
def
bytes_literal(u, dummy=None):
197
return
db.literal(u.decode(bytes_literal.charset))
198
return
bytes_literal
199
200
string_literal = _get_string_literal()
Callers
nothing calls this directly
Calls
1
literal
Method · 0.80
Tested by
no test coverage detected