mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
@@ -18,7 +18,9 @@ class EnvBuilder:
|
||||
if sys.version_info >= (3, 6):
|
||||
prompt: Optional[str]
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
if sys.version_info >= (3, 9):
|
||||
def __init__(self, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., upgrade: bool = ..., with_pip: bool = ..., 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, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., upgrade: bool = ..., with_pip: bool = ...) -> None: ...
|
||||
@@ -33,9 +35,14 @@ class EnvBuilder:
|
||||
def post_setup(self, context: SimpleNamespace) -> None: ...
|
||||
def replace_variables(self, text: str, context: SimpleNamespace) -> str: ... # undocumented
|
||||
def install_scripts(self, context: SimpleNamespace, path: str) -> None: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def upgrade_dependencies(context: SimpleNamespace) -> None: ...
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
if sys.version_info >= (3, 9):
|
||||
def create(env_dir: _Path, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., with_pip: bool = ..., prompt: Optional[str] = ..., upgrade_deps: bool = ...) -> None: ...
|
||||
elif sys.version_info >= (3, 6):
|
||||
def create(env_dir: _Path, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., with_pip: bool = ..., prompt: Optional[str] = ...) -> None: ...
|
||||
else:
|
||||
def create(env_dir: _Path, system_site_packages: bool = ..., clear: bool = ..., symlinks: bool = ..., with_pip: bool = ...) -> None: ...
|
||||
|
||||
def main(args: Optional[Sequence[Text]] = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user