diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystrtod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 16dac81ff6..909e0210ea 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -1005,6 +1005,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; assert(0); } goto exit; |