[docs] Bug in locale module docs

Sandro Tosi sandro.tosi at gmail.com
Tue Feb 22 23:21:27 CET 2011


Hi Timothy,
thanks for your email.

On Wed, Feb 2, 2011 at 15:20, Timothy Pederick <pederick at gmail.com> wrote:
> The following text appears to be in error:
>
> locale.ERA_D_FMT
>
> Get a format string for strftime() to represent time in a locale-specific
> era-based way.
>
> (Note the mismatch between "D" in the constant name and "time" in its
> description.)
>
> This text is present in the same form in at least the 2.7, 3.1 and 3.2 docs.
> Checking with Python 3.1.2, it would appear that both ERA_D_FMT and
> ERA_T_FMT exist. Thus, the text should probably read something like:
>
> locale.ERA_D_FMT
>
> Get a format string for strftime() to represent a date in a locale-specific
> era-based way.
>
> locale.ERA_T_FMT
>
> Get a format string for strftime() to represent a time in a locale-specific
> era-based way.
>
> (The wording "a date", "a time" instead of just "time" is the same as that
> used for the D_FMT and T_FMT constants earlier in the page.)

I just opened http://bugs.python.org/issue11294 to resolve this problems.

Thanks for your time,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list