From fd0587ba6c790a2440b67ce2becd11ef88713475 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 23 Jun 2026 16:55:19 +0200 Subject: use format strings --- vk/platform.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vk/platform.py') diff --git a/vk/platform.py b/vk/platform.py index fccaa17..e7ca38a 100644 --- a/vk/platform.py +++ b/vk/platform.py @@ -35,8 +35,7 @@ class Platform(Enum): return self._capitalize_first_letter(_PLATFORM_DESCRIPTIONS[self]) def get_descr_text(self): - s = _PLATFORM_DESCRIPTIONS[self] - return 'the ' + s + return f'the {_PLATFORM_DESCRIPTIONS[self]}' def get_descr_text_capitalized(self): return self._capitalize_first_letter(self.get_descr_text()) -- cgit v1.3