summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/pystrtod.c
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-02-03 21:59:07 +0300
committershadchin <[email protected]>2026-02-03 22:28:51 +0300
commitbce46f28de392862d5c6c3b185d844ee7c623be3 (patch)
tree424878b5b90144f98970ce4a2745990c77330ad2 /contrib/tools/python3/Python/pystrtod.c
parent0e0ee9fa48ce9411b4038aa769493d22ff6c10a2 (diff)
Import Python 3.13.11
commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
Diffstat (limited to 'contrib/tools/python3/Python/pystrtod.c')
-rw-r--r--contrib/tools/python3/Python/pystrtod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/tools/python3/Python/pystrtod.c b/contrib/tools/python3/Python/pystrtod.c
index 9bb060e3d11..16bf06f0e6c 100644
--- a/contrib/tools/python3/Python/pystrtod.c
+++ b/contrib/tools/python3/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. */