aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-06-14 17:46:04 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-06-14 18:00:06 +0300
commit85f6451860166545196ffa2950aa68be2363733b (patch)
tree4443b7b2465bda4bdc3589314f258329ecaedb38 /contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py
parentfa297dd4855aef4bd79faebb48120708d2f9249d (diff)
downloadydb-85f6451860166545196ffa2950aa68be2363733b.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py')
-rw-r--r--contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py
index fd1429df2e..3dcb994bd9 100644
--- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py
+++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/input/base.py
@@ -1,6 +1,7 @@
"""
Abstraction of CLI Input.
"""
+
from __future__ import annotations
from abc import ABCMeta, abstractmethod, abstractproperty
@@ -116,7 +117,7 @@ class DummyInput(Input):
raise NotImplementedError
def typeahead_hash(self) -> str:
- return "dummy-%s" % id(self)
+ return f"dummy-{id(self)}"
def read_keys(self) -> list[KeyPress]:
return []