Skip to content

Commit

Permalink
pythongh-82180: Update math.factorial(float) doc for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jun 6, 2023
1 parent 0cb6b9b commit 279b663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Floating point number (like ``5.0``) is no longer accepted.


.. function:: floor(x)
Expand Down

0 comments on commit 279b663

Please sign in to comment.