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

Method timetuple

Lib/_pydatetime.py:1160–1163  ·  view source on GitHub ↗

Return local time tuple compatible with time.localtime().

(self)

Source from the content-addressed store, hash-verified

1158 # __hash__ (and helpers)
1159
1160 def timetuple(self):
1161 "Return local time tuple compatible with time.localtime()."
1162 return _build_struct_time(self._year, self._month, self._day,
1163 0, 0, 0, -1)
1164
1165 def toordinal(self):
1166 """Return proleptic Gregorian ordinal for the year, month and day.

Callers 1

strftimeMethod · 0.95

Calls 1

_build_struct_timeFunction · 0.85

Tested by

no test coverage detected