Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stdlib/3/ast.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sys
# from _ast below when loaded in an unorthodox way by the Dropbox
# internal Bazel integration.
import typing as _typing
from typing import Any, Iterator, Optional, Tuple, TypeVar, Union, overload
from typing import Any, Iterator, Optional, TypeVar, Union, overload

# The same unorthodox Bazel integration causes issues with sys, which
# is imported in both modules. unfortunately we can't just rename sys,
Expand Down Expand Up @@ -32,15 +32,15 @@ if sys.version_info >= (3, 8):
filename: Union[str, bytes] = ...,
mode: Literal["exec"] = ...,
type_comments: bool = ...,
feature_version: Union[None, int, Tuple[int, int]] = ...,
feature_version: Union[None, int, _typing.Tuple[int, int]] = ...,
) -> Module: ...
@overload
def parse(
source: Union[str, bytes],
filename: Union[str, bytes] = ...,
mode: str = ...,
type_comments: bool = ...,
feature_version: Union[None, int, Tuple[int, int]] = ...,
feature_version: Union[None, int, _typing.Tuple[int, int]] = ...,
) -> AST: ...

else:
Expand Down