mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Use PEP 585 syntax in Python 2, protobuf & _ast stubs, where possible (#6949)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import abc
|
||||
import sys
|
||||
from _typeshed import Self as TypeshedSelf # see #6932 for why the alias cannot have a leading underscore
|
||||
from typing import (
|
||||
from typing import ( # noqa Y022
|
||||
TYPE_CHECKING as TYPE_CHECKING,
|
||||
Any,
|
||||
AsyncContextManager as AsyncContextManager,
|
||||
|
||||
Reference in New Issue
Block a user