Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli authored and GitHub committed 2021-10-14 17:18:19 -07:00
1 parent 5f386b0575
commit 994b69ef8f
242 files changed
+1212 -1224

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ MISSING: _MISSING_TYPE
@overload
def asdict(obj: Any) -> dict[str, Any]: ...
@overload
def asdict(obj: Any, *, dict_factory: Callable[[list[Tuple[str, Any]]], _T]) -> _T: ...
def asdict(obj: Any, *, dict_factory: Callable[[list[tuple[str, Any]]], _T]) -> _T: ...
@overload
def astuple(obj: Any) -> Tuple[Any, ...]: ...
@overload
@@ -77,7 +77,7 @@ class InitVar(Generic[_T]):
def make_dataclass(
cls_name: str,
fields: Iterable[str | Tuple[str, type] | Tuple[str, type, Field[Any]]],
fields: Iterable[str | tuple[str, type] | tuple[str, type, Field[Any]]],
*,
bases: Tuple[type, ...] = ...,
namespace: dict[str, Any] | None = ...,