Mercurial > cpython-lru_cache-weakref
diff Python/pystrtod.c @ 53479:785ea299fe23
Merged revisions 71976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71976 | mark.dickinson | 2009-04-26 20:54:55 +0100 (Sun, 26 Apr 2009) | 2 lines
Fix typo in function name
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 26 Apr 2009 20:02:24 +0000 |
| parents | f76572108dd7 |
| children | de1d0f71e209 |
line wrap: on
line diff
--- a/Python/pystrtod.c Sun Apr 26 19:16:11 2009 +0000 +++ b/Python/pystrtod.c Sun Apr 26 20:02:24 2009 +0000 @@ -297,7 +297,7 @@ /* Ensure that any exponent, if present, is at least MIN_EXPONENT_DIGITS in length. */ Py_LOCAL_INLINE(void) -ensure_minumim_exponent_length(char* buffer, size_t buf_size) +ensure_minimum_exponent_length(char* buffer, size_t buf_size) { char *p = strpbrk(buffer, "eE"); if (p && (*(p + 1) == '-' || *(p + 1) == '+')) { @@ -498,7 +498,7 @@ for the extra zeros. Also, if there are more than MIN_EXPONENT_DIGITS, remove as many zeros as possible until we get back to MIN_EXPONENT_DIGITS */ - ensure_minumim_exponent_length(buffer, buf_size); + ensure_minimum_exponent_length(buffer, buf_size); /* If format_char is 'Z', make sure we have at least one character after the decimal point (and make sure we have a decimal point). */
