Skip to content

Commit d3a0eac

Browse files
authored
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
1 parent dfe9fc1 commit d3a0eac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/math.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ Number-theoretic and representation functions
7171
Return *n* factorial as an integer. Raises :exc:`ValueError` if *n* is not integral or
7272
is negative.
7373

74-
.. deprecated:: 3.9
75-
Accepting floats with integral values (like ``5.0``) is deprecated.
74+
.. versionchanged:: 3.10
75+
Floats with integral values (like ``5.0``) are no longer accepted.
7676

7777

7878
.. function:: floor(x)

0 commit comments

Comments
 (0)