diff options
author | Georg Brandl <georg@python.org> | 2007-05-01 06:08:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-05-01 06:08:15 (GMT) |
commit | 09728b7ef3c2e12677725703e67fa9fddc84463e (patch) | |
tree | d8ffe72de195ebf9884b4ad1f9445b1dc23d34eb | |
parent | 5a006b3978ecdf8a045cbbc74f39e646629460a8 (diff) | |
download | cpython-09728b7ef3c2e12677725703e67fa9fddc84463e.zip cpython-09728b7ef3c2e12677725703e67fa9fddc84463e.tar.gz cpython-09728b7ef3c2e12677725703e67fa9fddc84463e.tar.bz2 |
Patch #1710352: add missing public functions to locale.__all__.
-rw-r--r-- | Lib/locale.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/locale.py b/Lib/locale.py index fd549bb..4695b72 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: |