Skip to content

Commit

Permalink
Drop confusing commented out code in pystrtod.c (pythonGH-6072)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhesh authored and zhangyangyu committed Mar 11, 2018
1 parent e2732d3 commit 9fb8415
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Python/pystrtod.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,6 @@ format_float_short(double d, char format_code,
else {
/* shouldn't get here: Gay's code should always return
something starting with a digit, an 'I', or 'N' */
/* strncpy(p, "ERR", 3);
p += 3; */
Py_UNREACHABLE();
}
goto exit;
Expand Down

0 comments on commit 9fb8415

Please sign in to comment.