summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-05-09 08:05:00 +0100
committerMark Dickinson <mdickinson@enthought.com>2011-05-09 08:05:00 +0100
commit0db66ea74cb50b8911ce0d388b80a614ea6a2dcd (patch)
treea0d002ea9841b23be85915b2df62f4b2a473949c /Modules
parent529c9d398ac844b42da3d66ddb6e58ada49edac3 (diff)
downloadcpython-0db66ea74cb50b8911ce0d388b80a614ea6a2dcd.tar.gz
Fix cut-and-paste typo in comment: log10 -> log2.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mathmodule.c2
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 */
}
}