Skip to content

Commit

Permalink
Clarify documentation for value argument of Choice (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiancross committed Jun 5, 2021
1 parent 3556d33 commit 46eb492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion questionary/prompts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class Choice:
Args:
title: Text shown in the selection list.
value: Value returned, when the choice is selected.
value: Value returned, when the choice is selected. If this argument
is `None` or unset, then the value of `title` is used.
disabled: If set, the choice can not be selected by the user. The
provided text is used to explain, why the selection is
Expand Down

0 comments on commit 46eb492

Please sign in to comment.