Fix typo in math.log docstring (#103943)
https://github.com/python/cpython/commit/52cedc5c10336f0bc199d28524491e7de05... commit: 52cedc5c10336f0bc199d28524491e7de05bd047 branch: main author: Wes Turner <50891+westurner@users.noreply.github.com> committer: hauntsaninja <12621235+hauntsaninja@users.noreply.github.com> date: 2023-04-28T00:31:31-07:00 summary: Fix typo in math.log docstring (#103943) files: M Modules/mathmodule.c diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index a5e82d571ada..4a2381d96117 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -2314,7 +2314,7 @@ math_log(PyObject *module, PyObject * const *args, Py_ssize_t nargs) PyDoc_STRVAR(math_log_doc, "log(x, [base=math.e])\n\ Return the logarithm of x to the given base.\n\n\ -If the base not specified, returns the natural logarithm (base e) of x."); +If the base is not specified, returns the natural logarithm (base e) of x."); /*[clinic input] math.log2
participants (1)
-
hauntsaninja