mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Drop old branches in stdlib/3/os/path.pyi (#4878)
* Drop support for Python 3.5 in stdlib/3/os/path.pyi * Remove more obsolete branches
This commit is contained in:
@@ -11,12 +11,8 @@ if sys.version_info >= (3, 9):
|
||||
|
||||
_P = TypeVar("_P", bound=PurePath)
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
_PurePathBase = os.PathLike[str]
|
||||
_PathLike = os.PathLike[str]
|
||||
else:
|
||||
_PurePathBase = object
|
||||
_PathLike = PurePath
|
||||
_PurePathBase = os.PathLike[str]
|
||||
_PathLike = os.PathLike[str]
|
||||
|
||||
class PurePath(_PurePathBase):
|
||||
parts: Tuple[str, ...]
|
||||
|
||||
Reference in New Issue
Block a user