Skip to content

Commit

Permalink
Update src/textual/widgets/_option_list.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Girão Serrão <[email protected]>
  • Loading branch information
nekeal and rodrigogiraoserrao authored Jul 22, 2023
1 parent 555b4d2 commit 68490e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textual/widgets/_option_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,11 +843,11 @@ def get_option(self, option_id: str) -> Option:
) from None

def get_option_index(self, option_id):
"""
Get the index of the option with the given ID.
"""Get the index of the option with the given ID.
Args:
option_id: The ID of the option to get the index of.
Raises:
OptionDoesNotExist: If no option has the given ID.
"""
Expand Down

0 comments on commit 68490e9

Please sign in to comment.