aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.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/layout/screen.py
parentfa297dd4855aef4bd79faebb48120708d2f9249d (diff)
downloadydb-85f6451860166545196ffa2950aa68be2363733b.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py')
-rw-r--r--contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py
index 49aebbd626..0f19f52a8d 100644
--- a/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py
+++ b/contrib/python/prompt-toolkit/py3/prompt_toolkit/layout/screen.py
@@ -320,10 +320,4 @@ class WritePosition:
self.height = height
def __repr__(self) -> str:
- return "{}(x={!r}, y={!r}, width={!r}, height={!r})".format(
- self.__class__.__name__,
- self.xpos,
- self.ypos,
- self.width,
- self.height,
- )
+ return f"{self.__class__.__name__}(x={self.xpos!r}, y={self.ypos!r}, width={self.width!r}, height={self.height!r})"