Fix isort w.r.t. _ast/_collections_abc/_tracemalloc/_warnings (#6329)

This commit is contained in:
Alex Waygood
2021-11-17 16:29:44 +00:00
committed by GitHub
parent 25ba2bad06
commit fbb89f9fd5
8 changed files with 12 additions and 15 deletions

View File

@@ -4,10 +4,9 @@
# from _ast below when loaded in an unorthodox way by the Dropbox
# internal Bazel integration.
import typing as _typing
from typing import Any, Iterator
from _ast import *
from _ast import AST, Module
from typing import Any, Iterator
def parse(source: str | unicode, filename: str | unicode = ..., mode: str | unicode = ...) -> Module: ...
def copy_location(new_node: AST, old_node: AST) -> AST: ...