summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/mathmodule.c.h
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2022-04-06 19:35:05 (GMT)
committerGitHub <noreply@github.com>2022-04-06 19:35:05 (GMT)
commit1ba82d4419010994ddf68b9b4851509acc4d45e1 (patch)
treeedf1c4f36dc0a698f4d078615d6b6dc09174cd2d /Modules/clinic/mathmodule.c.h
parent32b33879c2e19cde735c1971b06869976200e1d8 (diff)
downloadcpython-1ba82d4419010994ddf68b9b4851509acc4d45e1.zip
cpython-1ba82d4419010994ddf68b9b4851509acc4d45e1.tar.gz
cpython-1ba82d4419010994ddf68b9b4851509acc4d45e1.tar.bz2
Change parameter name from *x* for reals to *n* for integers. (GH-32377)
Diffstat (limited to 'Modules/clinic/mathmodule.c.h')
-rw-r--r--Modules/clinic/mathmodule.c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/mathmodule.c.h b/Modules/clinic/mathmodule.c.h
index 65f3dd4..4ea0bb8 100644
--- a/Modules/clinic/mathmodule.c.h
+++ b/Modules/clinic/mathmodule.c.h
@@ -45,10 +45,10 @@ PyDoc_STRVAR(math_isqrt__doc__,
{"isqrt", (PyCFunction)math_isqrt, METH_O, math_isqrt__doc__},
PyDoc_STRVAR(math_factorial__doc__,
-"factorial($module, x, /)\n"
+"factorial($module, n, /)\n"
"--\n"
"\n"
-"Find x!.\n"
+"Find n!.\n"
"\n"
"Raise a ValueError if x is negative or non-integral.");
@@ -865,4 +865,4 @@ math_ulp(PyObject *module, PyObject *arg)
exit:
return return_value;
}
-/*[clinic end generated code: output=1eae2b3ef19568fa input=a9049054013a1b77]*/
+/*[clinic end generated code: output=6381e7d982ff3711 input=a9049054013a1b77]*/