From a0ee04939487d600e9973937a4c1ac67324a0a11 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 10 Nov 2019 22:38:43 +0200 Subject: [PATCH] sys: add pycache_prefix New in Python 3.8: https://docs.python.org/3.8/library/sys.html#sys.pycache_prefix --- stdlib/3/sys.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/3/sys.pyi b/stdlib/3/sys.pyi index 14a9721fbffd..471ba5ea1874 100644 --- a/stdlib/3/sys.pyi +++ b/stdlib/3/sys.pyi @@ -46,6 +46,8 @@ path_hooks: List[Any] # TODO precise type; function, path to finder path_importer_cache: Dict[str, Any] # TODO precise type platform: str prefix: str +if sys.version_info >= (3, 8): + pycache_prefix: Optional[str] ps1: str ps2: str stdin: TextIO