mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 14:16:21 +00:00
Fix f-string
This commit is contained in:
1 parent
ceac7c0c67
commit
c7ee15c016
1 file changed
+1
-1
@@ -210,7 +210,7 @@ class TextUtils:
|
||||
text_stepper = TextStepper(text)
|
||||
while text_stepper.line < line:
|
||||
if not text_stepper.step_line():
|
||||
raise InvalidTextLocationError("{line=}, {col=}")
|
||||
raise InvalidTextLocationError(f"{line=}, {col=}")
|
||||
|
||||
return text_stepper.line_start_idx + col
|
||||
|
||||
|
||||
Reference in new issue
Block a user