Skip to content

Commit

Permalink
Minor Typo Fix in questionary-autocomplete (#325)
Browse files Browse the repository at this point in the history
* Fixed minor typo in autocomplete_ants.py

* Fixed minor typos in other files
  • Loading branch information
AayushGithub authored Dec 29, 2023
1 parent d3d6e69 commit 7ba070c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/autocomplete_ants.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def validate(self, document):
def ask_pystyle(**kwargs):
# create the question object
question = questionary.autocomplete(
"Choose ant specie",
"Choose ant species",
validate=PolyergusValidator,
meta_information=meta_information,
choices=[
Expand Down Expand Up @@ -76,7 +76,7 @@ def ask_dictstyle(**kwargs):
"Polyergus rufescens",
],
"meta_information": meta_information,
"message": "Choose ant specie",
"message": "Choose ant species",
"validate": PolyergusValidator,
}
]
Expand Down
4 changes: 2 additions & 2 deletions questionary/prompts/autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def autocomplete(
Example:
>>> import questionary
>>> questionary.autocomplete(
... 'Choose ant specie',
... 'Choose ant species',
... choices=[
... 'Camponotus pennsylvanicus',
... 'Linepithema humile',
Expand All @@ -127,7 +127,7 @@ def autocomplete(
... 'Polyergus lucidus',
... 'Polyergus rufescens',
... ]).ask()
? Choose ant specie Atta colombica
? Choose ant species Atta colombica
'Atta colombica'
.. image:: ../images/autocomplete.gif
Expand Down

0 comments on commit 7ba070c

Please sign in to comment.