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

Function adapt_date

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

Source from the content-addressed store, hash-verified

58 "see the sqlite3 documentation for suggested replacement recipes")
59
60 def adapt_date(val):
61 warn(msg.format(what="date adapter"), DeprecationWarning, stacklevel=2)
62 return val.isoformat()
63
64 def adapt_datetime(val):
65 warn(msg.format(what="datetime adapter"), DeprecationWarning, stacklevel=2)

Callers

nothing calls this directly

Calls 3

warnFunction · 0.90
formatMethod · 0.45
isoformatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…