]> granicus.if.org Git - python/commitdiff
Patch #1710352: add missing public functions to locale.__all__.
authorGeorg Brandl <georg@python.org>
Tue, 1 May 2007 06:08:15 +0000 (06:08 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 1 May 2007 06:08:15 +0000 (06:08 +0000)
Lib/locale.py

index fd549bbde12b62e4e834ab171e8f74faddb99c70..4695b72e3011023e03e6d72b30bdca998521a765 100644 (file)
@@ -19,9 +19,11 @@ import sys, encodings, encodings.aliases
 
 # 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: