diff --git a/stdlib/__future__.pyi b/stdlib/__future__.pyi index a68183dbe..4658afa9f 100644 --- a/stdlib/__future__.pyi +++ b/stdlib/__future__.pyi @@ -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", + ]