➜

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.

作者 techtonik
收信人 belopolsky, docs@python, fdrake, techtonik, tim.peters
日期 2010-07-20.16:08:05
SpamBayes Score 0.014330682
Marked as misclassified 否
Message-id <AANLkTil6qv86_4d49phmw_t9XXev9Wgk2_5OvQwFe4fT@mail.gmail.com>
In-reply-to <AANLkTinGi_JMj6gbT0Pp9uMz_K9FuTfuinM1tiVU37Ct@mail.gmail.com>
内容
> Documenting utcoffset() as "Return timedelta equal to local UTC
> offset." is almost circular.  It does not explain whether it has to be
> added or subtracted from UTC to arrive at local time.

Ok. Sold.

>> I believe the correct convention is "Return timedelta...".
>
> This is handled inconsistently in the documentation; I'm hoping the
> current maintainers reinforce the "Returns ..." structure.  The
> documentation is descriptive, not an external specification.

http://www.python.org/dev/peps/pep-0257/#one-line-docstrings

I've took the convention from here. I thought docs are generated from
docstrings.
历史
日期 用户 动作 参数
2010-07-20 16:08:08techtonik修改recipients: + techtonik, tim.peters, fdrake, belopolsky, docs@python
2010-07-20 16:08:06techtonik链接issue9305 messages
2010-07-20 16:08:05techtonik创建