Skip to content

Commit 92aec1f

Browse files
authored
Merge pull request #330 from Trisodium-ru/patch-3
Исправлено избыточное использование f-строк
2 parents 2c3878d + 234a440 commit 92aec1f

File tree

1 file changed

+1
-1
lines changed
  • modules/40-define-functions/500-named-arguments

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def trim_and_repeat(text, offset=0, repetitions=1):
2-
return f'{text[offset:] * repetitions}'
2+
return text[offset:] * repetitions

0 commit comments

Comments
 (0)