[issue6456] locale.D_* and .T_* are int, not string
R. David Murray
report at bugs.python.org
Fri Jul 10 12:52:36 CEST 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
If you look a little further up in the page you will see:
"The nl_langinfo() function accepts one of the following keys. Most
descriptions are taken from the corresponding description in the GNU C
library."
I agree that the descriptions of the constants are a bit confusing, but
the fact that it says "return" instead of saying that it is _is_ a
string should be a clue that the item itself is not a string.
A doc patch would certainly be considered if you see a way to make it
more obvious.
----------
nosy: +r.david.murray
priority: -> normal
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6456>
_______________________________________
More information about the Python-bugs-list
mailing list