diff --git a/README.md b/README.md index 682a428..24146ae 100644 --- a/README.md +++ b/README.md @@ -828,7 +828,7 @@ arguments = sys.argv[1:] **Reads a line from user input or pipe if present. The trailing newline gets stripped.** ```python -filename = input('Enter a file name: ') + = input(prompt=None) ``` #### Prints lines until EOF: