mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 00:28:28 +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:
@@ -9,8 +9,7 @@ class EnvBuilder:
|
||||
symlinks: bool
|
||||
upgrade: bool
|
||||
with_pip: bool
|
||||
if sys.version_info >= (3, 6):
|
||||
prompt: Optional[str]
|
||||
prompt: Optional[str]
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def __init__(
|
||||
@@ -23,16 +22,6 @@ class EnvBuilder:
|
||||
prompt: Optional[str] = ...,
|
||||
upgrade_deps: bool = ...,
|
||||
) -> None: ...
|
||||
elif sys.version_info >= (3, 6):
|
||||
def __init__(
|
||||
self,
|
||||
system_site_packages: bool = ...,
|
||||
clear: bool = ...,
|
||||
symlinks: bool = ...,
|
||||
upgrade: bool = ...,
|
||||
with_pip: bool = ...,
|
||||
prompt: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
else:
|
||||
def __init__(
|
||||
self,
|
||||
@@ -41,6 +30,7 @@ class EnvBuilder:
|
||||
symlinks: bool = ...,
|
||||
upgrade: bool = ...,
|
||||
with_pip: bool = ...,
|
||||
prompt: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
def create(self, env_dir: AnyPath) -> None: ...
|
||||
def clear_directory(self, path: AnyPath) -> None: ... # undocumented
|
||||
@@ -67,7 +57,7 @@ if sys.version_info >= (3, 9):
|
||||
upgrade_deps: bool = ...,
|
||||
) -> None: ...
|
||||
|
||||
elif sys.version_info >= (3, 6):
|
||||
else:
|
||||
def create(
|
||||
env_dir: AnyPath,
|
||||
system_site_packages: bool = ...,
|
||||
@@ -77,9 +67,4 @@ elif sys.version_info >= (3, 6):
|
||||
prompt: Optional[str] = ...,
|
||||
) -> None: ...
|
||||
|
||||
else:
|
||||
def create(
|
||||
env_dir: AnyPath, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., with_pip: bool = ...
|
||||
) -> None: ...
|
||||
|
||||
def main(args: Optional[Sequence[str]] = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user