]> granicus.if.org Git - python/commitdiff
Drop confusing commented out code in pystrtod.c (GH-6072)
authorSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>
Sun, 11 Mar 2018 09:45:10 +0000 (15:15 +0530)
committerXiang Zhang <angwerzx@126.com>
Sun, 11 Mar 2018 09:45:10 +0000 (17:45 +0800)
Python/pystrtod.c

index 601f7c691edf63dd33181f49d2bcc8e79e79a3c5..3546d44c84248b2d080115864d93c721f01374bc 100644 (file)
@@ -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;