Add __all__ to modules beginning with 'j', 'k' and 'l' (#7328)

This commit is contained in:
Alex Waygood
2022-02-20 23:06:54 +00:00
committed by GitHub
parent 07de01f29e
commit 3ead05f277
9 changed files with 273 additions and 1 deletions

View File

@@ -1,6 +1,32 @@
import sys
from _typeshed import StrPath
__all__ = [
"getlocale",
"getdefaultlocale",
"getpreferredencoding",
"Error",
"setlocale",
"resetlocale",
"localeconv",
"strcoll",
"strxfrm",
"str",
"atof",
"atoi",
"format",
"format_string",
"currency",
"normalize",
"LC_CTYPE",
"LC_COLLATE",
"LC_MESSAGES" "LC_TIME",
"LC_MONETARY",
"LC_NUMERIC",
"LC_ALL",
"CHAR_MAX",
]
# This module defines a function "str()", which is why "str" can't be used
# as a type annotation or type alias.
from builtins import str as _str