summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-06 13:56:08 (GMT)
committerGitHub <noreply@github.com>2023-09-06 13:56:08 (GMT)
commitb298b395e8ab1725c4f0dd736155b8c818664d42 (patch)
tree7946296ed34254283f71a70004b06fe7a7d2c30d /Python/pystrtod.c
parent14d6e197cc56e5256d501839a4e66e3864ab15f0 (diff)
downloadcpython-b298b395e8ab1725c4f0dd736155b8c818664d42.zip
cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.gz
cpython-b298b395e8ab1725c4f0dd736155b8c818664d42.tar.bz2
gh-108765: Cleanup #include in Python/*.c files (#108977)
Mention one symbol imported by each #include.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 9bb060e..16bf06f 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -3,7 +3,8 @@
#include <Python.h>
#include "pycore_dtoa.h" // _Py_dg_strtod()
#include "pycore_pymath.h" // _PY_SHORT_FLOAT_REPR
-#include <locale.h>
+
+#include <locale.h> // localeconv()
/* Case-insensitive string match used for nan and inf detection; t should be
lower-case. Returns 1 for a successful match, 0 otherwise. */