mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
clean python 3 specific stuff from stdlib/@python2 stubs (#5451)
This commit is contained in:
1 parent
f94d838814
commit
5ec4f06263
121 files changed
+1024
-4801
No files matched your search
@@ -2,24 +2,11 @@ import sys
|
||||
from typing import Optional
|
||||
|
||||
def version() -> str: ...
|
||||
|
||||
if sys.version_info >= (3, 0):
|
||||
def bootstrap(
|
||||
*,
|
||||
root: Optional[str] = ...,
|
||||
upgrade: bool = ...,
|
||||
user: bool = ...,
|
||||
altinstall: bool = ...,
|
||||
default_pip: bool = ...,
|
||||
verbosity: int = ...,
|
||||
) -> None: ...
|
||||
|
||||
else:
|
||||
def bootstrap(
|
||||
root: Optional[str] = ...,
|
||||
upgrade: bool = ...,
|
||||
user: bool = ...,
|
||||
altinstall: bool = ...,
|
||||
default_pip: bool = ...,
|
||||
verbosity: int = ...,
|
||||
) -> None: ...
|
||||
def bootstrap(
|
||||
root: Optional[str] = ...,
|
||||
upgrade: bool = ...,
|
||||
user: bool = ...,
|
||||
altinstall: bool = ...,
|
||||
default_pip: bool = ...,
|
||||
verbosity: int = ...,
|
||||
) -> None: ...
|
||||
Reference in new issue
Block a user