summaryrefslogtreecommitdiffstats
path: root/examples/prompts/get-password.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/prompts/get-password.py')
-rwxr-xr-xexamples/prompts/get-password.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prompts/get-password.py b/examples/prompts/get-password.py
index 1c9517c..a9c0c27 100755
--- a/examples/prompts/get-password.py
+++ b/examples/prompts/get-password.py
@@ -3,4 +3,4 @@ from prompt_toolkit import prompt
if __name__ == "__main__":
password = prompt("Password: ", is_password=True)
- print("You said: %s" % password)
+ print(f"You said: {password}")