summaryrefslogtreecommitdiffstats
path: root/ptpython/prompt_style.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-27 10:40:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-27 10:40:00 +0000
commite0719babdc8744144449c81fac14ba7bbf21446f (patch)
tree36e17925ec537746a9bb1ce7035b216529a957a5 /ptpython/prompt_style.py
parentReleasing debian version 3.0.22-2. (diff)
downloadptpython-e0719babdc8744144449c81fac14ba7bbf21446f.tar.xz
ptpython-e0719babdc8744144449c81fac14ba7bbf21446f.zip
Merging upstream version 3.0.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ptpython/prompt_style.py')
-rw-r--r--ptpython/prompt_style.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ptpython/prompt_style.py b/ptpython/prompt_style.py
index e7334af..96b738f 100644
--- a/ptpython/prompt_style.py
+++ b/ptpython/prompt_style.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
from abc import ABCMeta, abstractmethod
from typing import TYPE_CHECKING
@@ -40,7 +42,7 @@ class IPythonPrompt(PromptStyle):
A prompt resembling the IPython prompt.
"""
- def __init__(self, python_input: "PythonInput") -> None:
+ def __init__(self, python_input: PythonInput) -> None:
self.python_input = python_input
def in_prompt(self) -> AnyFormattedText: