Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, Iterator, Tuple
from typing import Any, Callable, Iterator
def py_encode_basestring(s: str) -> str: ... # undocumented
def py_encode_basestring_ascii(s: str) -> str: ... # undocumented
@@ -22,7 +22,7 @@ class JSONEncoder:
allow_nan: bool = ...,
sort_keys: bool = ...,
indent: int | None = ...,
separators: Tuple[str, str] | None = ...,
separators: tuple[str, str] | None = ...,
default: Callable[..., Any] | None = ...,
) -> None: ...
def default(self, o: Any) -> Any: ...