]> granicus.if.org Git - python/commitdiff
Fix cut-and-paste typo in comment: log10 -> log2.
authorMark Dickinson <mdickinson@enthought.com>
Mon, 9 May 2011 07:05:00 +0000 (08:05 +0100)
committerMark Dickinson <mdickinson@enthought.com>
Mon, 9 May 2011 07:05:00 +0000 (08:05 +0100)
Modules/mathmodule.c

index 8815dd53b9b2a80bddb82e64325d33799b82fa21..d2d461e096d57589bccffddcbe5c84dc0d34881b 100644 (file)
@@ -622,7 +622,7 @@ m_log2(double x)
     }
     else {
         errno = EDOM;
-        return Py_NAN; /* log10(-inf) = nan, invalid-operation */
+        return Py_NAN; /* log2(-inf) = nan, invalid-operation */
     }
 }