Add __all__ to __future__.pyi (#5570)

Closes #5569
This commit is contained in:
MapleCCC
2021-06-04 01:50:38 +08:00
committed by GitHub
parent 7e1b8384a0
commit 5804543c1c

View File

@@ -21,3 +21,31 @@ if sys.version_info >= (3, 7):
annotations: _Feature
all_feature_names: List[str] # undocumented
if sys.version_info >= (3, 7):
__all__ = [
"all_feature_names",
"absolute_import",
"division",
"generators",
"nested_scopes",
"print_function",
"unicode_literals",
"with_statement",
"barry_as_FLUFL",
"generator_stop",
"annotations",
]
else:
__all__ = [
"all_feature_names",
"absolute_import",
"division",
"generators",
"nested_scopes",
"print_function",
"unicode_literals",
"with_statement",
"barry_as_FLUFL",
"generator_stop",
]