mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 19:21:26 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import argparse
|
||||
import ast
|
||||
from typing import Any, Generic, Iterable, Iterator, Tuple, Type, TypeVar
|
||||
from typing import Any, Generic, Iterable, Iterator, Type, TypeVar
|
||||
|
||||
FLAKE8_ERROR = Tuple[int, int, str, Type[Any]]
|
||||
FLAKE8_ERROR = tuple[int, int, str, Type[Any]]
|
||||
TConfig = TypeVar("TConfig") # noqa: Y001
|
||||
|
||||
class Error:
|
||||
|
||||
Reference in New Issue
Block a user