diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 10:59:41 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-12-11 11:40:57 +0300 |
commit | 708e84a1342eccd8b69c761dd2916e33503a883a (patch) | |
tree | ee90cd4ab26e843c00724b957ef247cc3d1b6f9f /contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py | |
parent | 425d65a76c5bda62894f93d32f1f5e32f7439539 (diff) | |
download | ydb-708e84a1342eccd8b69c761dd2916e33503a883a.tar.gz |
Update contrib/python/prompt-toolkit/py3 to 3.0.41
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py')
-rw-r--r-- | contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py index 7879e3abc6..1a21237a84 100644 --- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py +++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/menus.py @@ -2,7 +2,7 @@ from __future__ import annotations import math from itertools import zip_longest -from typing import TYPE_CHECKING, Callable, Iterable, Sequence, Tuple, TypeVar, cast +from typing import TYPE_CHECKING, Callable, Iterable, Sequence, TypeVar, cast from weakref import WeakKeyDictionary from prompt_toolkit.application.current import get_app @@ -332,7 +332,7 @@ class MultiColumnCompletionMenuControl(UIControl): # the count, because a completer can add new completions to the # `CompletionState` while loading.) self._column_width_for_completion_state: WeakKeyDictionary[ - CompletionState, Tuple[int, int] + CompletionState, tuple[int, int] ] = WeakKeyDictionary() # Info of last rendering. |