Skip to content

Commit

Permalink
Satisfy pyright.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachaa-Thanasius committed Sep 8, 2024
1 parent b6fe891 commit 9b8330b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/defer_imports/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__",
Expand Down

0 comments on commit 9b8330b

Please sign in to comment.