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,6 +1,6 @@
import sys
from _typeshed import StrPath, SupportsWrite
from typing import IO, Any, Mapping, MutableMapping, Text, Type, Union
from typing import IO, Any, Mapping, MutableMapping, Text, Union
if sys.version_info >= (3, 6):
_PathLike = StrPath
@@ -13,7 +13,7 @@ else:
class TomlDecodeError(Exception): ...
def load(f: _PathLike | list[Text] | IO[str], _dict: Type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
def loads(s: Text, _dict: Type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
def load(f: _PathLike | list[Text] | IO[str], _dict: type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
def loads(s: Text, _dict: type[MutableMapping[str, Any]] = ...) -> MutableMapping[str, Any]: ...
def dump(o: Mapping[str, Any], f: SupportsWrite[str]) -> str: ...
def dumps(o: Mapping[str, Any]) -> str: ...