time, calendar, datetime, etc
bens at replytothegroupplease.com
Thu Jul 31 12:09:18 CEST 2003
Steven Taschuk wrote:
> Quoth Kylotan:
>> And does datetime.timetuple() actually return something equivalent to
>> a struct_time as used by the time module? At first glance this looks
>> to be true, but it isn't clearly documented as such.
> Isn't it?
> Return a 9-element tuple of the form returned by
Problem is, time.localtime() doesn't return a 9-element tuple any more,
it returns a struct_time. (Since 2.2, I think.)
More information about the Python-list