summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-05-01 06:08:20 +0000
committerGeorg Brandl <georg@python.org>2007-05-01 06:08:20 +0000
commit9aa62ff4a1e0ae8da9494b4b50b7acde6fa1adfc (patch)
tree949b7678cdd1607bc409df964e25d43dfcf0c0b6
parentbe69a0acc499ab31e1779dd0bf5c8ac57e1403a8 (diff)
downloadcpython-git-9aa62ff4a1e0ae8da9494b4b50b7acde6fa1adfc.tar.gz
Patch #1710352: add missing public functions to locale.__all__.
(backport from rev. 55038)
-rw-r--r--Lib/locale.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/locale.py b/Lib/locale.py
index fd549bbde1..4695b72e30 100644
--- a/Lib/locale.py
+++ b/Lib/locale.py
@@ -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: