Skip to content

Commit 0916a04

Browse files
committed
Fix syntax error
1 parent cdbd94f commit 0916a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sas/sas_xport.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def _read_header(self):
367367
fl = field["field_length"]
368368
if field["ntype"] == "numeric" and ((fl < 2) or (fl > 8)):
369369
self.close()
370-
msg = "f{Floating field width {fl} is not between 2 and 8.}"
370+
msg = f"Floating field width {fl} is not between 2 and 8."
371371
raise TypeError(msg)
372372

373373
for k, v in field.items():

0 commit comments

Comments
 (0)