Big diff: Use new "|" union syntax (#5872)

This commit is contained in:
Akuli
2021-08-08 12:05:21 +03:00
committed by GitHub
parent b9adb7a874
commit ee487304d7
578 changed files with 8080 additions and 8966 deletions

View File

@@ -1,12 +1,12 @@
from typing import Iterable, List, Optional
from typing import Iterable, List
PREFIXES: List[str]
ENABLE_USER_SITE: Optional[bool]
USER_SITE: Optional[str]
USER_BASE: Optional[str]
ENABLE_USER_SITE: bool | None
USER_SITE: str | None
USER_BASE: str | None
def main() -> None: ...
def addsitedir(sitedir: str, known_paths: Optional[Iterable[str]] = ...) -> None: ...
def getsitepackages(prefixes: Optional[Iterable[str]] = ...) -> List[str]: ...
def addsitedir(sitedir: str, known_paths: Iterable[str] | None = ...) -> None: ...
def getsitepackages(prefixes: Iterable[str] | None = ...) -> List[str]: ...
def getuserbase() -> str: ...
def getusersitepackages() -> str: ...