Use lowercase type everywhere (#6853)

This commit is contained in:
Alex Waygood
2022-01-08 15:09:29 +00:00
committed by GitHub
parent f8501d33c7
commit a40d79a4e6
172 changed files with 728 additions and 761 deletions

View File

@@ -1,7 +1,7 @@
from typing import IO, Any, Callable, Iterator, MutableMapping, Type
from typing import IO, Any, Callable, Iterator, MutableMapping
_Reader = Callable[[IO[bytes]], Any]
bytes_types: tuple[Type[Any], ...]
bytes_types: tuple[type[Any], ...]
UP_TO_NEWLINE: int
TAKEN_FROM_ARGUMENT1: int
@@ -108,9 +108,9 @@ long4: ArgumentDescriptor
class StackObject:
name: str
obtype: Type[Any] | tuple[Type[Any], ...]
obtype: type[Any] | tuple[type[Any], ...]
doc: str
def __init__(self, name: str, obtype: Type[Any] | tuple[Type[Any], ...], doc: str) -> None: ...
def __init__(self, name: str, obtype: type[Any] | tuple[type[Any], ...], doc: str) -> None: ...
pyint: StackObject
pylong: StackObject