Skip to content

Commit 2344258

Browse files
committed
Fix cut-and-paste typo in comment: log10 -> log2.
1 parent 7c038b4 commit 2344258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ m_log2(double x)
622622
}
623623
else {
624624
errno = EDOM;
625-
return Py_NAN; /* log10(-inf) = nan, invalid-operation */
625+
return Py_NAN; /* log2(-inf) = nan, invalid-operation */
626626
}
627627
}
628628

0 commit comments

Comments
 (0)