diff options
Diffstat (limited to 'ptpython/filters.py')
-rw-r--r-- | ptpython/filters.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ptpython/filters.py b/ptpython/filters.py index 1adac13..a2079fd 100644 --- a/ptpython/filters.py +++ b/ptpython/filters.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from typing import TYPE_CHECKING from prompt_toolkit.filters import Filter @@ -9,7 +11,8 @@ __all__ = ["HasSignature", "ShowSidebar", "ShowSignature", "ShowDocstring"] class PythonInputFilter(Filter): - def __init__(self, python_input: "PythonInput") -> None: + def __init__(self, python_input: PythonInput) -> None: + super().__init__() self.python_input = python_input def __call__(self) -> bool: |