R. David Murray <rdmur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com