diff --git a/src/defer_imports/console.py b/src/defer_imports/console.py index d575fc8..4d284c4 100644 --- a/src/defer_imports/console.py +++ b/src/defer_imports/console.py @@ -44,6 +44,8 @@ class DeferredInteractiveConsole(code.InteractiveConsole): This ensures that defer_imports.until_use works as intended when used directly in this console. """ + compile: codeop.CommandCompiler + def __init__(self) -> None: local_ns = { "__name__": "__console__",