[New-bugs-announce] [issue7531] datetime.timedelta doc has incorrect output
report at bugs.python.org
Thu Dec 17 15:32:21 CET 2009
New submission from John Gardner <python.20.huxoll at spamgourmet.com>:
The output example for timedelta in datetime package has the wrong
output for the supplied commands.
>>> ten_years, ten_years.days // 365
>>> ten_years, ten_years.days
(or perhaps, days changed to years.
It's very misleading to have these strange numbers as output.
Also, the comments to the right don't seem to be relevant.
nosy: georg.brandl, huxoll
title: datetime.timedelta doc has incorrect output
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce