Issue 792338: timetuple() returns a struct_time (original) (raw)

Issue792338

Created on 2003-08-21 05:47 by staschuk, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
struct_time.patch staschuk,2003-08-21 05:47
Messages (2)
msg44489 - (view) Author: Steven Taschuk (staschuk) Date: 2003-08-21 05:47
The docs for the datetime module describe the return value of the .timetuple() methods as being 9-tuples, when in fact they are instances of time.struct_time. The attached patch is a simple-minded rewrite to make this point clear. (A more sophisticated rewrite might explain why these methods are called "timetuple" even though they don't return tuples.)
msg44490 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-09-04 18:30
Logged In: YES user_id=21627 Thanks for the patch. Applied as libdatetime.tex 1.50 and 1.49.8.2.
History
Date User Action Args
2022-04-10 16:10:45 admin set github: 39098
2003-08-21 05:47:37 staschuk create