]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in math.log docstring (#103943)
authorWes Turner <50891+westurner@users.noreply.github.com>
Fri, 28 Apr 2023 07:31:31 +0000 (03:31 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Apr 2023 07:31:31 +0000 (00:31 -0700)
Modules/mathmodule.c

index a5e82d571ada6ecfdf5c5336a694fb628d4fa084..4a2381d9611776adf59d51e924dd8067671fbd12 100644 (file)
@@ -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