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.

Author r.david.murray
Recipients jonash, r.david.murray
Date 2009-07-10.10:52:34
SpamBayes Score 3.5439547e-07
Marked as misclassified No
Message-id <1247223156.82.0.0589078374706.issue6456@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-10 10:52:36r.david.murraysetrecipients: + r.david.murray, jonash
2009-07-10 10:52:36r.david.murraysetmessageid: <1247223156.82.0.0589078374706.issue6456@psf.upfronthosting.co.za>
2009-07-10 10:52:35r.david.murraylinkissue6456 messages
2009-07-10 10:52:35r.david.murraycreate