summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-04-15 15:12:37 +0100
committerMark Dickinson <mdickinson@enthought.com>2012-04-15 15:12:37 +0100
commit0276a326e15ced5fe6494d40658e9652ac90c5d5 (patch)
treea6b2218dbfd8082a7976f7ae7b22c7e138a201a0 /Python/pystrtod.c
parent4536a907e314836a320414ee5bf3bf7557fef7b6 (diff)
parent3cd6793317074f286add6fff3627776fe3a50483 (diff)
downloadcpython-0276a326e15ced5fe6494d40658e9652ac90c5d5.tar.gz
Issue #13889: Merge fix from 3.2.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 75e3032fb7..7bf21c0bc1 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -954,7 +954,7 @@ format_float_short(double d, char format_code,
/* 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;
+ /* p += 3; */
assert(0);
}
goto exit;