[New-bugs-announce] [issue5079] time.ctime docs refer to "time tuple" for default

Tom Lynn report at bugs.python.org
Tue Jan 27 12:09:37 CET 2009

New submission from Tom Lynn <tlynn at users.sourceforge.net>:

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 

messages: 80644
nosy: tlynn
severity: normal
status: open
title: time.ctime docs refer to "time tuple" for default

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list