diff options
author | Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> | 2018-03-11 09:45:10 (GMT) |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2018-03-11 09:45:10 (GMT) |
commit | 9fb84157595a385f15799e5d0729c1e1b0ba9d38 (patch) | |
tree | fe510b0ec96a3a866bb7b9259a77fbc724217a88 | |
parent | e2732d3e66eba9ec13f9d55c499f2437ead552db (diff) | |
download | cpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.zip cpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.tar.gz cpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.tar.bz2 |
Drop confusing commented out code in pystrtod.c (GH-6072)
-rw-r--r-- | Python/pystrtod.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 601f7c6..3546d44 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -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; |