[Python-checkins] cpython (2.7): #23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)

andrew.kuchling python-checkins at python.org
Tue Apr 14 15:10:48 CEST 2015


https://hg.python.org/cpython/rev/86fbe140e395
changeset:   95632:86fbe140e395
branch:      2.7
parent:      95625:feb0717c1004
user:        Andrew Kuchling <amk at amk.ca>
date:        Mon Apr 13 09:58:36 2015 -0400
summary:
  #23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)

files:
  Lib/gettext.py |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Lib/gettext.py b/Lib/gettext.py
--- a/Lib/gettext.py
+++ b/Lib/gettext.py
@@ -52,7 +52,9 @@
 
 __all__ = ['NullTranslations', 'GNUTranslations', 'Catalog',
            'find', 'translation', 'install', 'textdomain', 'bindtextdomain',
-           'dgettext', 'dngettext', 'gettext', 'ngettext',
+           'bind_textdomain_codeset',
+           'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
+           'ldngettext', 'lngettext', 'ngettext',
            ]
 
 _default_localedir = os.path.join(sys.prefix, 'share', 'locale')

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list