Use lowercase type everywhere (#6853)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-01-08 16:09:29 +01:00
1 parent f8501d33c7
commit a40d79a4e6
172 files changed
+728 -761

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
import sys
from _typeshed import StrOrBytesPath, StrPath, SupportsWrite
from collections.abc import Callable, ItemsView, Iterable, Iterator, Mapping, MutableMapping, Sequence
from typing import Any, ClassVar, Optional, Pattern, Type, TypeVar, overload
from typing import Any, ClassVar, Optional, Pattern, TypeVar, overload
from typing_extensions import Literal
# Internal type aliases
@@ -47,7 +47,7 @@ class RawConfigParser(_parser):
def __init__(
self,
defaults: Mapping[str, str | None] | None = ...,
dict_type: Type[Mapping[str, str]] = ...,
dict_type: type[Mapping[str, str]] = ...,
allow_no_value: Literal[True] = ...,
*,
delimiters: Sequence[str] = ...,
@@ -63,7 +63,7 @@ class RawConfigParser(_parser):
def __init__(
self,
defaults: _section | None = ...,
dict_type: Type[Mapping[str, str]] = ...,
dict_type: type[Mapping[str, str]] = ...,
allow_no_value: bool = ...,
*,
delimiters: Sequence[str] = ...,