[New-bugs-announce] [issue4324] locale documentation is inconsistent

Kai Willadsen report at bugs.python.org
Fri Nov 14 14:28:31 CET 2008


New submission from Kai Willadsen <kai.willadsen at gmail.com>:

The documentation for locale.getlocale is not consistent with the
example given. The docs for getlocale([category]) say:
  "category may be one of the LC_* values except LC_ALL."
but the example at the bottom of the documentation starts with:
  >>> import locale
  >>> loc = locale.getlocale(locale.LC_ALL) # get current locale
  ...

----------
assignee: georg.brandl
components: Documentation
messages: 75861
nosy: georg.brandl, kaiw
severity: normal
status: open
title: locale documentation is inconsistent
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4324>
_______________________________________


More information about the New-bugs-announce mailing list