aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-12-11 10:59:41 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-12-11 11:40:57 +0300
commit708e84a1342eccd8b69c761dd2916e33503a883a (patch)
treeee90cd4ab26e843c00724b957ef247cc3d1b6f9f /contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py
parent425d65a76c5bda62894f93d32f1f5e32f7439539 (diff)
downloadydb-708e84a1342eccd8b69c761dd2916e33503a883a.tar.gz
Update contrib/python/prompt-toolkit/py3 to 3.0.41
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py')
-rw-r--r--contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py
index 2faf99e980..56a4eddd9d 100644
--- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py
+++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/mouse_handlers.py
@@ -1,7 +1,7 @@
from __future__ import annotations
from collections import defaultdict
-from typing import TYPE_CHECKING, Callable, DefaultDict
+from typing import TYPE_CHECKING, Callable
from prompt_toolkit.mouse_events import MouseEvent
@@ -34,8 +34,8 @@ class MouseHandlers:
# over the mouse handlers of the visible region in the scrollable pane.
# Map y (row) to x (column) to handlers.
- self.mouse_handlers: DefaultDict[
- int, DefaultDict[int, MouseHandler]
+ self.mouse_handlers: defaultdict[
+ int, defaultdict[int, MouseHandler]
] = defaultdict(lambda: defaultdict(lambda: dummy_callback))
def set_mouse_handler_for_range(