From 6cd02c2aa8d8d036c8e58d7f67ca8b0a0ef9c2db Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 20:24:09 +0000 Subject: [PATCH] Add `code.__all__` (#7293) --- stdlib/code.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/code.pyi b/stdlib/code.pyi index ed00eaf96..185c15853 100644 --- a/stdlib/code.pyi +++ b/stdlib/code.pyi @@ -2,6 +2,8 @@ from codeop import CommandCompiler from types import CodeType from typing import Any, Callable, Mapping +__all__ = ["InteractiveInterpreter", "InteractiveConsole", "interact", "compile_command"] + class InteractiveInterpreter: locals: Mapping[str, Any] # undocumented compile: CommandCompiler # undocumented