summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-01-22 16:18:09 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-01-22 16:18:09 (GMT)
commit86db34207c34570c5ca9bfda62875c0e9fb4c869 (patch)
treefea13aeebe53aa6cfd79e6e5a66a4a732115f06f
parent0d948ac90cc92aa7724a20b47226bf2e512e30ab (diff)
downloadcpython-86db34207c34570c5ca9bfda62875c0e9fb4c869.zip
cpython-86db34207c34570c5ca9bfda62875c0e9fb4c869.tar.gz
cpython-86db34207c34570c5ca9bfda62875c0e9fb4c869.tar.bz2
Correct typo in comment.
-rw-r--r--Python/pystrtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 27ddc94..909e021 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -104,7 +104,7 @@ _PyOS_ascii_strtod(const char *nptr, char **endptr)
_Py_SET_53BIT_PRECISION_END;
if (*endptr == nptr)
- /* string might represent and inf or nan */
+ /* string might represent an inf or nan */
result = _Py_parse_inf_or_nan(nptr, endptr);
return result;