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

Function parsedate

Lib/email/_parseaddr.py:183–189  ·  view source on GitHub ↗

Convert a time string to a time tuple.

(data)

Source from the content-addressed store, hash-verified

181
182
183def parsedate(data):
184 """Convert a time string to a time tuple."""
185 t = parsedate_tz(data)
186 if isinstance(t, tuple):
187 return t[:9]
188 else:
189 return t
190
191
192def mktime_tz(data):

Callers

nothing calls this directly

Calls 1

parsedate_tzFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…