Skip to content

Commit

Permalink
Fix Widget.rows annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Stepanov committed Apr 15, 2024
1 parent 74a8bc5 commit 2acaa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urwid/widget/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def __init__(self, *args, **kwargs):
)
super().__init__()

def rows(self, size: int, focus: bool = False) -> int:
def rows(self, size: tuple[int], focus: bool = False) -> int:
"""
All flow widgets must implement this function.
"""
Expand Down

0 comments on commit 2acaa80

Please sign in to comment.