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

Function adapt_datetime

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

Source from the content-addressed store, hash-verified

62 return val.isoformat()
63
64 def adapt_datetime(val):
65 warn(msg.format(what="datetime adapter"), DeprecationWarning, stacklevel=2)
66 return val.isoformat(" ")
67
68 def convert_date(val):
69 warn(msg.format(what="date converter"), 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…