fix typo in docs

This commit is contained in:
Grant Ramsay 2023-06-30 20:57:03 +01:00
parent 3430909031
commit 10705a43b2
No known key found for this signature in database
GPG key ID: 40EDDC3F71696632

View file

@ -18,7 +18,7 @@ If you supply a list of choices, the prompt will loop until the user enters one
>>> from rich.prompt import Prompt
>>> name = Prompt.ask("Enter your name", choices=["Paul", "Jessica", "Duncan"], default="Paul")
By default this is case sensitive, but you can set `case_insensitive=True` to make it case sensitive::
By default this is case sensitive, but you can set `case_insensitive=True` to make it case insensitive::
>>> from rich.prompt import Prompt
>>> name = Prompt.ask("Enter your name", choices=["Paul", "Jessica", "Duncan"], default="Paul", case_insensitive=True)