summaryrefslogtreecommitdiff
path: root/Include/pystrtod.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-03 20:14:31 +0000
committerMartin v. Löwis <martin@v.loewis.de>2010-12-03 20:14:31 +0000
commit4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 (patch)
treec8f1fef715f8d158e58f17cab14af65455de1d77 /Include/pystrtod.h
parentc4df7845143f9afe0d20f4421a41904f3cbb991a (diff)
downloadcpython-git-4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9.tar.gz
Merge branches/pep-0384.
Diffstat (limited to 'Include/pystrtod.h')
-rw-r--r--Include/pystrtod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pystrtod.h b/Include/pystrtod.h
index d7bae12234..23fd1c6255 100644
--- a/Include/pystrtod.h
+++ b/Include/pystrtod.h
@@ -18,7 +18,9 @@ PyAPI_FUNC(char *) PyOS_double_to_string(double val,
int flags,
int *type);
+#ifndef Py_LIMITED_API
PyAPI_FUNC(double) _Py_parse_inf_or_nan(const char *p, char **endptr);
+#endif
/* PyOS_double_to_string's "flags" parameter can be set to 0 or more of: */