summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/mathmodule.c')
-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 */
}
}