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
@@ -42,11 +42,11 @@ from posixpath import (
splitext as splitext,
supports_unicode_filenames as supports_unicode_filenames,
)
from typing import AnyStr, Tuple, overload
from typing import AnyStr, overload
altsep: str
if sys.version_info < (3, 7) and sys.platform == "win32":
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
def splitunc(p: AnyStr) -> tuple[AnyStr, AnyStr]: ... # deprecated
# Similar to posixpath, but have slightly different argument names
@overload