mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Change parameter name from *x* for reals to *n* for integers. (GH-32377)
This commit is contained in:
parent
32b33879c2
commit
1ba82d4419
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue