Issue 5079: time.ctime docs refer to "time tuple" for default (original) (raw)
Issue5079
Created on 2009-01-27 11:09 by tlynn, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg80644 - (view) | Author: Tom Lynn (tlynn) | Date: 2009-01-27 11:09 |
The docs for time.ctime() (quoted below) seem to have been copied from time.asctime(). They refer to a time tuple and localtime(), where they should refer to seconds and time(). Current docs:: ctime(seconds) -> string Convert a time in seconds since the Epoch to a string in local time. This is equivalent to asctime(localtime(seconds)). When the time tuple is not present, current time as returned by localtime() is used. | ||
msg80677 - (view) | Author: Gabriel Genellina (ggenellina) | Date: 2009-01-27 22:58 |
It's already fixed in 2.6, 2.7 and 3.0 I'm unsure of 2.5 status regarding documentation updates. | ||
msg88225 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-05-23 07:33 |
None will be made. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:44 | admin | set | github: 49329 |
2009-05-23 07:33:37 | georg.brandl | set | status: open -> closedresolution: out of datemessages: + |
2009-01-27 22:58:44 | ggenellina | set | assignee: georg.brandlmessages: + nosy: + ggenellina, georg.brandlcomponents: + Documentation, - Library (Lib)versions: - Python 3.0 |
2009-01-27 11:10:38 | tlynn | set | type: enhancementcomponents: + Library (Lib)versions: + Python 2.5, Python 3.0 |
2009-01-27 11:09:36 | tlynn | create |