summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh.poyarekar@gmail.com>2018-03-11 09:45:10 (GMT)
committerXiang Zhang <angwerzx@126.com>2018-03-11 09:45:10 (GMT)
commit9fb84157595a385f15799e5d0729c1e1b0ba9d38 (patch)
treefe510b0ec96a3a866bb7b9259a77fbc724217a88 /Python/pystrtod.c
parente2732d3e66eba9ec13f9d55c499f2437ead552db (diff)
downloadcpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.zip
cpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.tar.gz
cpython-9fb84157595a385f15799e5d0729c1e1b0ba9d38.tar.bz2
Drop confusing commented out code in pystrtod.c (GH-6072)
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c2
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;