This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: time.ctime docs refer to "time tuple" for default
Type: enhancement Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, ggenellina, tlynn
Priority: normal Keywords:

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) * (Python committer) Date: 2009-05-23 07:33
None will be made.
History
Date User Action Args
2022-04-11 14:56:44adminsetgithub: 49329
2009-05-23 07:33:37georg.brandlsetstatus: open -> closed
resolution: out of date
messages: + msg88225
2009-01-27 22:58:44ggenellinasetassignee: georg.brandl
messages: + msg80677
nosy: + ggenellina, georg.brandl
components: + Documentation, - Library (Lib)
versions: - Python 3.0
2009-01-27 11:10:38tlynnsettype: enhancement
components: + Library (Lib)
versions: + Python 2.5, Python 3.0
2009-01-27 11:09:36tlynncreate