Message134509
| Author |
belopolsky |
| Recipients |
belopolsky, vstinner |
| Date |
2011年04月26日.22:20:56 |
| SpamBayes Score |
7.436871e-07 |
| Marked as misclassified |
No |
| Message-id |
<BANLkTikCLg7yT1grQDTr05eAQOudkR_OMg@mail.gmail.com> |
| In-reply-to |
<1303855763.43.0.366677912188.issue11930@psf.upfronthosting.co.za> |
| Content |
On Tue, Apr 26, 2011 at 6:09 PM, STINNER Victor <report@bugs.python.org> wrote:
..
>
> timemodule.c:
>
> PyDoc_STRVAR(module_doc,
> "...
> The tuple items are:\n\
> year (four digits, e.g. 1998)\n\
> ...")
>
> => That's wrong. Example: time.gmtime(-55582200000).tm_year gives 208.
This is wrong regardless of this patch. I don't mind fixing this,
but it would be a different issue. Can you suggest a change? I would
like the docstring to still inform the user that 1998 should be given
as 1998 and not as 98. Maybe s/four/all/? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年04月26日 22:20:58 | belopolsky | set | recipients:
+ belopolsky, vstinner |
| 2011年04月26日 22:20:56 | belopolsky | link | issue11930 messages |
| 2011年04月26日 22:20:56 | belopolsky | create |
|