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: 5 additions & 1 deletion stdlib/3/ast.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ import sys
import typing as _typing
from typing import Any, Iterator, Optional, Union, TypeVar

from _ast import *
# The same unorthodox Bazel integration causes issues with sys, which
# is imported in both modules. unfortunately we can't just rename sys,
# since mypy only supports version checks with a sys that is named
# sys.
from _ast import * # type: ignore

class NodeVisitor():
def visit(self, node: AST) -> Any: ...
Expand Down