mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-06 20:28:51 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
1 parent
c653be73b8
commit
b093c90a94
41 files changed
+91
-90
No files matched your search
@@ -36,9 +36,9 @@ _converters: TypeAlias = dict[str, _converter]
|
||||
_T = TypeVar("_T")
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
_Path = StrOrBytesPath
|
||||
_Path: TypeAlias = StrOrBytesPath
|
||||
else:
|
||||
_Path = StrPath
|
||||
_Path: TypeAlias = StrPath
|
||||
|
||||
DEFAULTSECT: Literal["DEFAULT"]
|
||||
MAX_INTERPOLATION_DEPTH: Literal[10]
|
||||
|
||||
Reference in new issue
Block a user