diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 04:45:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 04:45:14 +0000 |
commit | 437643bd908d99924e3003db4d9d3718d9df5813 (patch) | |
tree | 9752c4e8ebd3ae23f7a586066a874bd4418feeaa /examples/prompts/no-wrapping.py | |
parent | Adding debian version 3.0.43-2. (diff) | |
download | prompt-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-x | examples/prompts/no-wrapping.py | 2 |
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}") |