From c80a2debe25f71f1c48741c1d78669d39abf728e Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 2 May 2021 17:00:59 -0700 Subject: [PATCH] site: main is documented and exists in py3 (#5324) --- stdlib/site.pyi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stdlib/site.pyi b/stdlib/site.pyi index e91176ac4..db7bbefcc 100644 --- a/stdlib/site.pyi +++ b/stdlib/site.pyi @@ -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: ...