summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-05-09 07:05:00 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2011-05-09 07:05:00 (GMT)
commit23442584f428ca85ede8df5641b46f0213b16bfd (patch)
treed4d2204611f9769f41dcb8a8d4822885976935f7
parent7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 (diff)
downloadcpython-23442584f428ca85ede8df5641b46f0213b16bfd.zip
cpython-23442584f428ca85ede8df5641b46f0213b16bfd.tar.gz
cpython-23442584f428ca85ede8df5641b46f0213b16bfd.tar.bz2
Fix cut-and-paste typo in comment: log10 -> log2.
-rw-r--r--Modules/mathmodule.c2
1 files changed, 1 insertions, 1 deletions
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 @@ m_log2(double x)
}
else {
errno = EDOM;
- return Py_NAN; /* log10(-inf) = nan, invalid-operation */
+ return Py_NAN; /* log2(-inf) = nan, invalid-operation */
}
}