[Python-checkins] r71976 - python/trunk/Python/pystrtod.c

mark.dickinson python-checkins at python.org
Sun Apr 26 21:54:55 CEST 2009


Author: mark.dickinson
Date: Sun Apr 26 21:54:55 2009
New Revision: 71976

Log:
Fix typo in function name


Modified:
   python/trunk/Python/pystrtod.c

Modified: python/trunk/Python/pystrtod.c
==============================================================================
--- python/trunk/Python/pystrtod.c	(original)
+++ python/trunk/Python/pystrtod.c	Sun Apr 26 21:54:55 2009
@@ -291,7 +291,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). */
@@ -601,7 +601,7 @@
 		   enough 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(buf, buf_len);
+		ensure_minimum_exponent_length(buf, buf_len);
 
 		/* Possibly make sure we have at least one character after the
 		   decimal point (and make sure we have a decimal point). */


More information about the Python-checkins mailing list