Patch #1710352: add missing public functions to locale.__all__.
(backport from rev. 55038)
This commit is contained in:
parent
be69a0acc4
commit
9aa62ff4a1
|
@ -19,9 +19,11 @@ import sys, encodings, encodings.aliases
|
||||||
|
|
||||||
# Yuck: LC_MESSAGES is non-standard: can't tell whether it exists before
|
# 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.
|
# trying the import. So __all__ is also fiddled at the end of the file.
|
||||||
__all__ = ["setlocale","Error","localeconv","strcoll","strxfrm",
|
__all__ = ["getlocale", "getdefaultlocale", "getpreferredencoding", "Error",
|
||||||
"format","str","atof","atoi","LC_CTYPE","LC_COLLATE",
|
"setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
|
||||||
"LC_TIME","LC_MONETARY","LC_NUMERIC", "LC_ALL","CHAR_MAX"]
|
"str", "atof", "atoi", "format", "format_string", "currency",
|
||||||
|
"normalize", "LC_CTYPE", "LC_COLLATE", "LC_TIME", "LC_MONETARY",
|
||||||
|
"LC_NUMERIC", "LC_ALL", "CHAR_MAX"]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue