mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
site: main is documented and exists in py3 (#5324)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from typing import Iterable, List, Optional
|
||||
|
||||
PREFIXES: List[str]
|
||||
@@ -6,9 +5,7 @@ ENABLE_USER_SITE: Optional[bool]
|
||||
USER_SITE: Optional[str]
|
||||
USER_BASE: Optional[str]
|
||||
|
||||
if sys.version_info < (3,):
|
||||
def main() -> None: ...
|
||||
|
||||
def main() -> None: ...
|
||||
def addsitedir(sitedir: str, known_paths: Optional[Iterable[str]] = ...) -> None: ...
|
||||
def getsitepackages(prefixes: Optional[Iterable[str]] = ...) -> List[str]: ...
|
||||
def getuserbase() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user