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.

Author tapybugs
Recipients tapybugs
Date 2007-12-24.17:38:48
SpamBayes Score 0.00061541726
Marked as misclassified No
Message-id <1198517930.52.0.374052241467.issue1695@psf.upfronthosting.co.za>
In-reply-to
Content
The docstring says "tm_day" but dir() knows "tm_mday" only:

Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> print time.localtime.__doc__
localtime([seconds]) ->
(tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)

Convert seconds since the Epoch to a time tuple expressing local time.
When 'seconds' is not passed in, convert the current time instead.

>>> print dir(time.localtime())
['__add__', '__class__', '__contains__', '__delattr__', '__doc__',
'__eq__', '__ge__', '__getattribute__', '__getitem__', '__getslice__',
'__gt__', '__hash__', '__init__', '__le__', '__len__', '__lt__',
'__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
'__repr__', '__rmul__', '__setattr__', '__str__', 'n_fields',
'n_sequence_fields', 'n_unnamed_fields', 'tm_hour', 'tm_isdst',
'tm_mday', 'tm_min', 'tm_mon', 'tm_sec', 'tm_wday', 'tm_yday', 'tm_year'
History
Date User Action Args
2007-12-24 17:38:50tapybugssetspambayes_score: 0.000615417 -> 0.00061541726
recipients: + tapybugs
2007-12-24 17:38:50tapybugssetspambayes_score: 0.000615417 -> 0.000615417
messageid: <1198517930.52.0.374052241467.issue1695@psf.upfronthosting.co.za>
2007-12-24 17:38:50tapybugslinkissue1695 messages
2007-12-24 17:38:49tapybugscreate