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

Function escape_struct_time

pymysql/converters.py:138–139  ·  view source on GitHub ↗
(obj, mapping=None)

Source from the content-addressed store, hash-verified

136
137
138def escape_struct_time(obj, mapping=None):
139 return escape_datetime(datetime.datetime(*obj[:6]))
140
141
142def Decimal2Literal(o, d):

Callers

nothing calls this directly

Calls 1

escape_datetimeFunction · 0.85

Tested by

no test coverage detected