[Python-checkins] cpython: Fix cut-and-paste typo in comment: log10 -> log2.

mark.dickinson python-checkins at python.org
Mon May 9 09:05:13 CEST 2011


http://hg.python.org/cpython/rev/12c65eb7d6de
changeset:   69971:12c65eb7d6de
parent:      69969:e015e8560d64
user:        Mark Dickinson <mdickinson at enthought.com>
date:        Mon May 09 08:05:00 2011 +0100
summary:
  Fix cut-and-paste typo in comment: log10 -> log2.

files:
  Modules/mathmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -622,7 +622,7 @@
     }
     else {
         errno = EDOM;
-        return Py_NAN; /* log10(-inf) = nan, invalid-operation */
+        return Py_NAN; /* log2(-inf) = nan, invalid-operation */
     }
 }
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list