commit | 23442584f428ca85ede8df5641b46f0213b16bfd | [log] [tgz] |
---|---|---|
author | Mark Dickinson <mdickinson@enthought.com> | Mon May 09 08:05:00 2011 +0100 |
committer | Mark Dickinson <mdickinson@enthought.com> | Mon May 09 08:05:00 2011 +0100 |
tree | d4d2204611f9769f41dcb8a8d4822885976935f7 | |
parent | 7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 [diff] [blame] |
Fix cut-and-paste typo in comment: log10 -> log2.
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 8815dd5..d2d461e 100644 --- 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 */ } }