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:
Sebastian Rittau
2020-12-30 21:41:09 +01:00
committed by GitHub
parent 4141dd1176
commit 91582e6921
9 changed files with 188 additions and 311 deletions

View File

@@ -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, ...]