Skip to content

Commit

Permalink
doc: Note that param to prompt is optional
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Dec 21, 2022
1 parent 771cc7e commit a2c4716
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/snek.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1887,9 +1887,9 @@ number.

=== `input(` _prompt_ `)`

Prints _prompt_ and then waits for the user to enter some text,
terminated with a newline. The text, without the trailing newline, is
returned.
Prints optional _prompt_ and then waits for the user to enter some
text, terminated with a newline. The text, without the trailing
newline, is returned.

[subs="verbatim,quotes"]
----
Expand Down

0 comments on commit a2c4716

Please sign in to comment.