Skip to content

Commit

Permalink
Remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 24, 2024
1 parent 441a6d2 commit 4afe679
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/textual/_widget_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def find_next_enabled(
candidates: Sequence[Disableable],
anchor: int | None,
direction: Direction,
with_anchor: bool = False,
) -> int | None:
"""Find the next enabled object if we're currently at the given anchor.
Expand All @@ -119,8 +118,6 @@ def find_next_enabled(
enabled object.
direction: The direction in which to traverse the candidates when looking for
the next enabled candidate.
with_anchor: Consider the anchor position as the first valid position instead of
the last one.
Returns:
The next enabled object. If none are available, return the anchor.
Expand Down

0 comments on commit 4afe679

Please sign in to comment.