[Python-checkins] r55039 - python/branches/release25-maint/Lib/locale.py

georg.brandl python-checkins at python.org
Tue May 1 08:08:20 CEST 2007


Author: georg.brandl
Date: Tue May  1 08:08:20 2007
New Revision: 55039

Modified:
   python/branches/release25-maint/Lib/locale.py
Log:
Patch #1710352: add missing public functions to locale.__all__.
 (backport from rev. 55038)

Modified: python/branches/release25-maint/Lib/locale.py
==============================================================================
--- python/branches/release25-maint/Lib/locale.py	(original)
+++ python/branches/release25-maint/Lib/locale.py	Tue May  1 08:08:20 2007
@@ -19,9 +19,11 @@
 
 # Yuck:  LC_MESSAGES is non-standard:  can't tell whether it exists before
 # trying the import.  So __all__ is also fiddled at the end of the file.
-__all__ = ["setlocale","Error","localeconv","strcoll","strxfrm",
-           "format","str","atof","atoi","LC_CTYPE","LC_COLLATE",
-           "LC_TIME","LC_MONETARY","LC_NUMERIC", "LC_ALL","CHAR_MAX"]
+__all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error",
+           "setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
+           "str", "atof", "atoi", "format", "format_string", "currency",
+           "normalize", "LC_CTYPE", "LC_COLLATE", "LC_TIME", "LC_MONETARY",
+           "LC_NUMERIC", "LC_ALL", "CHAR_MAX"]
 
 try:
 


More information about the Python-checkins mailing list