Change parameter name from *x* for reals to *n* for integers. (GH-32377)

This commit is contained in:
Raymond Hettinger 2022-04-06 14:35:05 -05:00 committed by GitHub
parent 32b33879c2
commit 1ba82d4419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -66,9 +66,9 @@ Number-theoretic and representation functions
Return the absolute value of *x*.
.. function:: factorial(x)
.. function:: factorial(n)
Return *x* factorial as an integer. Raises :exc:`ValueError` if *x* is not integral or
Return *n* factorial as an integer. Raises :exc:`ValueError` if *n* is not integral or
is negative.
.. deprecated:: 3.9