mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
This commit is contained in:
parent
dfe9fc1904
commit
d3a0eacbf3
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ Number-theoretic and representation functions
|
|||
Return *n* factorial as an integer. Raises :exc:`ValueError` if *n* is not integral or
|
||||
is negative.
|
||||
|
||||
.. deprecated:: 3.9
|
||||
Accepting floats with integral values (like ``5.0``) is deprecated.
|
||||
.. versionchanged:: 3.10
|
||||
Floats with integral values (like ``5.0``) are no longer accepted.
|
||||
|
||||
|
||||
.. function:: floor(x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue