summaryrefslogtreecommitdiffstats
path: root/examples/prompts/no-wrapping.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:45:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 04:45:14 +0000
commit437643bd908d99924e3003db4d9d3718d9df5813 (patch)
tree9752c4e8ebd3ae23f7a586066a874bd4418feeaa /examples/prompts/no-wrapping.py
parentAdding debian version 3.0.43-2. (diff)
downloadprompt-toolkit-437643bd908d99924e3003db4d9d3718d9df5813.tar.xz
prompt-toolkit-437643bd908d99924e3003db4d9d3718d9df5813.zip
Merging upstream version 3.0.46.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/prompts/no-wrapping.py')
-rwxr-xr-xexamples/prompts/no-wrapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prompts/no-wrapping.py b/examples/prompts/no-wrapping.py
index 371486e..170e7d5 100755
--- a/examples/prompts/no-wrapping.py
+++ b/examples/prompts/no-wrapping.py
@@ -3,4 +3,4 @@ from prompt_toolkit import prompt
if __name__ == "__main__":
answer = prompt("Give me some input: ", wrap_lines=False, multiline=True)
- print("You said: %s" % answer)
+ print(f"You said: {answer}")