mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
@@ -38,7 +38,7 @@ _StrOrBytesPathT = TypeVar("_StrOrBytesPathT", bound=StrOrBytesPath)
|
||||
_StrPathT = TypeVar("_StrPathT", bound=StrPath)
|
||||
# Return value of some functions that may either return a path-like object that was passed in or
|
||||
# a string
|
||||
_PathReturn = Any
|
||||
_PathReturn: TypeAlias = Any
|
||||
|
||||
class Error(OSError): ...
|
||||
class SameFileError(Error): ...
|
||||
|
||||
Reference in New Issue
Block a user