Skip to content

Commit 9fb8415

Browse files
siddheshzhangyangyu
authored andcommitted
Drop confusing commented out code in pystrtod.c (GH-6072)
1 parent e2732d3 commit 9fb8415

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python/pystrtod.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,8 +1060,6 @@ format_float_short(double d, char format_code,
10601060
else {
10611061
/* shouldn't get here: Gay's code should always return
10621062
something starting with a digit, an 'I', or 'N' */
1063-
/* strncpy(p, "ERR", 3);
1064-
p += 3; */
10651063
Py_UNREACHABLE();
10661064
}
10671065
goto exit;

0 commit comments

Comments
 (0)