cpython: 34c9465f5023 (original) (raw)

Mercurial > cpython

changeset 73372:34c9465f5023 2.7

Issue #3067: Enhance the documentation and docstring of locale.setlocale() [#3067]

Petri Lehtinen petri@digip.org
date Sat, 05 Nov 2011 10🔞50 +0200
parents 0b754ee12dbd
children 8ea34a74f118
files Doc/library/locale.rst Lib/locale.py Misc/NEWS
diffstat 3 files changed, 16 insertions(+), 12 deletions(-)[+] [-] Doc/library/locale.rst 20 Lib/locale.py 5 Misc/NEWS 3

line wrap: on

line diff

--- a/Doc/library/locale.rst +++ b/Doc/library/locale.rst @@ -23,19 +23,19 @@ The :mod:locale module defines the fol .. exception:: Error

.. function:: setlocale(category[, locale])

.. function:: localeconv()

--- a/Lib/locale.py +++ b/Lib/locale.py @@ -524,9 +524,10 @@ def getlocale(category=LC_CTYPE): def setlocale(category, locale=None): """ Set the locale for the given category. The locale can be

category may be given as one of the LC_* values.

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -74,6 +74,9 @@ Core and Builtins Library ------- +- Issue #3067: Enhance the documentation and docstring of