summaryrefslogtreecommitdiffstats
path: root/src/prompt_toolkit/layout/screen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/prompt_toolkit/layout/screen.py')
-rw-r--r--src/prompt_toolkit/layout/screen.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/prompt_toolkit/layout/screen.py b/src/prompt_toolkit/layout/screen.py
index 49aebbd..0f19f52 100644
--- a/src/prompt_toolkit/layout/screen.py
+++ b/src/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})"