diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-26 20:11:22 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-26 20:11:22 (GMT) |
| commit | c5b2d5639099fac33495bccc4c79edca197cd781 (patch) | |
| tree | 6c3b96fce3cbf736040cbf7636df48d640f6330e /Python | |
| parent | c63b2d2687bb4194331ea995e9affb092d197bb3 (diff) | |
| download | cpython-c5b2d5639099fac33495bccc4c79edca197cd781.zip cpython-c5b2d5639099fac33495bccc4c79edca197cd781.tar.gz cpython-c5b2d5639099fac33495bccc4c79edca197cd781.tar.bz2 | |
Merged revisions 71978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71978 | mark.dickinson | 2009-04-26 21:02:24 +0100 (Sun, 26 Apr 2009) | 9 lines
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
........
................
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/pystrtod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index b373852..4605ebc 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -229,7 +229,7 @@ as necessary to represent the exponent. /* 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) == '+')) { @@ -468,7 +468,7 @@ PyOS_ascii_formatd(char *buffer, 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). */ |
