gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)

This commit is contained in:
Victor Stinner 2023-06-06 21:47:57 +02:00 committed by GitHub
parent dfe9fc1904
commit d3a0eacbf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)