From 23442584f428ca85ede8df5641b46f0213b16bfd Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 9 May 2011 08:05:00 +0100 Subject: Fix cut-and-paste typo in comment: log10 -> log2. --- Modules/mathmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } } -- cgit v0.12