Terry J. Reedy <tjre...@udel.edu> added the comment: Yes. I think in locale.rst (assuming that is the name) ''' exception locale.Error Exception raised when setlocale() fails.
locale.setlocale(category, locale=None) If *locale* is specified, it may be a string, a tuple of the form (language code, encoding), or None. If it is a tuple, it is converted to a string using the locale aliasing engine. ''' should be changed to ''' exception locale.Error Exception raised when the locale passed to setlocale() is not recognized. locale.setlocale(category, locale=None) If *locale* is specified, it may be a None, a string, or an iterable of two strings, language code and encoding. String pairs are converted to a single string using the locale aliasing engine. ''' where language code and encoding are gray shaded as they are now. ---------- assignee: -> docs@python components: +Documentation -Library (Lib), Unicode nosy: +docs@python status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3067> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com