Skip to content

Commit 2c647da

Browse files
committed
f-stringify
1 parent f09469c commit 2c647da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def __add__(self, other):
257257
"""
258258
if len(self) != len(other):
259259
raise ValueError("Can only add equal length cycles, "
260-
"not {} and {}".format(len(self), len(other)))
260+
f"not {len(self)} and {len(other)}")
261261
return Cycler(self, other, zip)
262262

263263
def __mul__(self, other):

0 commit comments

Comments
 (0)