File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -584,7 +584,7 @@ cdef inline int64_t parse_iso_format_string(str ts) except? -1:
584
584
bint have_dot = 0 , have_value = 0 , neg = 0
585
585
list number = [], unit = []
586
586
587
- err_msg = " Invalid ISO 8601 Duration format - {} " .format(ts)
587
+ err_msg = f " Invalid ISO 8601 Duration format - {ts} "
588
588
589
589
for c in ts:
590
590
# number (ascii codes)
Original file line number Diff line number Diff line change @@ -191,10 +191,10 @@ def integer_op_not_supported(obj):
191
191
192
192
# GH#30886 using an fstring raises SystemError
193
193
int_addsub_msg = (
194
- " Addition/subtraction of integers and integer-arrays with {cls} is "
194
+ f " Addition/subtraction of integers and integer-arrays with {cls} is "
195
195
" no longer supported. Instead of adding/subtracting `n`, "
196
196
" use `n * obj.freq`"
197
- ).format( cls = cls )
197
+ )
198
198
return TypeError (int_addsub_msg)
199
199
200
200
You can’t perform that action at this time.
0 commit comments