[New-bugs-announce] [issue3185] Documentation of time.time() differs from source documentation

Carsten Grohmann report at bugs.python.org
Tue Jun 24 07:53:04 CEST 2008


New submission from Carsten Grohmann <cgrohmann at users.sourceforge.net>:

The current python documentation of the time module
(http://docs.python.org/lib/module-time.html) means that time.time()
returns the "seconds since the epoch, in UTC".

But in the current source documentation of the time module
(http://svn.python.org/view/python/trunk/Modules/timemodule.c?rev=64048&view=markup)
is written that "time() -- return current time in seconds since the Epoch". 

time.time() returns the current local unix seconds during tests on a
system using Python 2.5.

Please adapt the documentation.

Thanks,
Carsten

----------
assignee: georg.brandl
components: Documentation
messages: 68666
nosy: cgrohmann, georg.brandl
severity: normal
status: open
title: Documentation of time.time() differs from source documentation
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3185>
_______________________________________


More information about the New-bugs-announce mailing list