Skip to content

Commit 446ac36

Browse files
Removed type annotation. Python2 doesn't support it, unfortunately.
1 parent 96dc167 commit 446ac36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt_toolkit/widgets/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def _(event):
626626
dont_extend_height=True)
627627

628628
def _get_text_fragments(self):
629-
def mouse_handler(mouse_event: MouseEvent):
629+
def mouse_handler(mouse_event):
630630
"""
631631
Set `_selected_index` and `current_value` according to the y
632632
position of the mouse click event.

0 commit comments

Comments
 (0)