diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2011-05-09 08:05:00 +0100 |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2011-05-09 08:05:00 +0100 |
commit | 23442584f428ca85ede8df5641b46f0213b16bfd (patch) | |
tree | d4d2204611f9769f41dcb8a8d4822885976935f7 | |
parent | 7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 (diff) | |
download | cpython-git-23442584f428ca85ede8df5641b46f0213b16bfd.tar.gz |
Fix cut-and-paste typo in comment: log10 -> log2.
-rw-r--r-- | Modules/mathmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 8815dd53b9..d2d461e096 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -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 */ } } |