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

@@ -1,5 +1,7 @@
import sys
import types
from _ast import AST
from _collections_abc import dict_items, dict_keys, dict_values
from _typeshed import (
OpenBinaryMode,
OpenBinaryModeReading,
@@ -59,9 +61,6 @@ from typing import (
)
from typing_extensions import Literal, SupportsIndex, TypeGuard, final
from _ast import AST
from _collections_abc import dict_items, dict_keys, dict_values
if sys.version_info >= (3, 9):
from types import GenericAlias