mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
18 lines
482 B
Python
18 lines
482 B
Python
# Stubs for site
|
|
|
|
from typing import List, Iterable, Optional
|
|
import sys
|
|
|
|
PREFIXES: List[str]
|
|
ENABLE_USER_SITE: Optional[bool]
|
|
USER_SITE: Optional[str]
|
|
USER_BASE: Optional[str]
|
|
|
|
if sys.version_info < (3,):
|
|
def main() -> None: ...
|
|
def addsitedir(sitedir: str,
|
|
known_paths: Optional[Iterable[str]] = ...) -> None: ...
|
|
def getsitepackages(prefixes: Optional[Iterable[str]] = ...) -> List[str]: ...
|
|
def getuserbase() -> str: ...
|
|
def getusersitepackages() -> str: ...
|