mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-16 21:45:04 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -16,7 +16,7 @@ LOGGER: Logger
|
||||
import_error: ImportError | None
|
||||
|
||||
class _SupportsGetItem(Protocol[_T_co]):
|
||||
def __getitem__(self, __k: int) -> _T_co: ...
|
||||
def __getitem__(self, k: int, /) -> _T_co: ...
|
||||
|
||||
class ARC4:
|
||||
MOD: ClassVar[int]
|
||||
|
||||
Reference in New Issue
Block a user