MCPcopy Index your code
hub / github.com/RustPython/RustPython / timetuple

Method timetuple

Lib/_pydatetime.py:1145–1148  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1143 # __hash__ (and helpers)
1144
1145 def timetuple(self):
1146 "Return local time tuple compatible with time.localtime()."
1147 return _build_struct_time(self._year, self._month, self._day,
1148 0, 0, 0, -1)
1149
1150 def toordinal(self):
1151 """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