Add code.__all__ (#7293)

This commit is contained in:
Alex Waygood
2022-02-19 20:24:09 +00:00
committed by GitHub
parent 18d254cb3b
commit 6cd02c2aa8

View File

@@ -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