From 781b76769efa79987b501a2eeeb17456a49ee4ba Mon Sep 17 00:00:00 2001 From: Pavel Karateev Date: Mon, 24 May 2021 14:09:15 +0300 Subject: [PATCH] Add sys.orig_argv for Python 3.10 (#5524) --- stdlib/sys.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/sys.pyi b/stdlib/sys.pyi index a0df1ff6a..8370f0b29 100644 --- a/stdlib/sys.pyi +++ b/stdlib/sys.pyi @@ -61,6 +61,8 @@ maxsize: int maxunicode: int meta_path: List[_MetaPathFinder] modules: Dict[str, ModuleType] +if sys.version_info >= (3, 10): + orig_argv: List[str] path: List[str] path_hooks: List[Any] # TODO precise type; function, path to finder path_importer_cache: Dict[str, Optional[PathEntryFinder]]