MCPcopy Index your code
hub / github.com/python/cpython / convert_date

Function convert_date

Lib/sqlite3/dbapi2.py:68–70  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

66 return val.isoformat(" ")
67
68 def convert_date(val):
69 warn(msg.format(what="date converter"), DeprecationWarning, stacklevel=2)
70 return datetime.date(*map(int, val.split(b"-")))
71
72 def convert_timestamp(val):
73 warn(msg.format(what="timestamp converter"), DeprecationWarning, stacklevel=2)

Callers

nothing calls this directly

Calls 4

warnFunction · 0.90
dateMethod · 0.80
formatMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…