Skip to content

Commit feb4b4a

Browse files
Update pandas/io/formats/format.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 5643e08 commit feb4b4a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/io/formats/format.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,6 @@ def _validate_float_format(
871871
except (ValueError, KeyError, IndexError) as e:
872872
raise ValueError(f"Invalid new-style format string {fmt!r}") from e
873873

874-
# If fmt is neither None, nor callable, nor a successfully processed string,
875874
raise ValueError("float_format must be a string or callable")
876875

877876

0 commit comments

Comments
 (0)