Skip to content

Commit

Permalink
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Jun 6, 2023
1 parent dfe9fc1 commit d3a0eac
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
Floats with integral values (like ``5.0``) are no longer accepted.


.. function:: floor(x)
Expand Down

0 comments on commit d3a0eac

Please sign in to comment.