Skip to content

Commit a7db459

Browse files
committed
pythongh-82180: Update math.factorial(float) doc for Python 3.10
1 parent 423459b commit a7db459

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+
Floating point number (like ``5.0``) is no longer accepted.
7676

7777

7878
.. function:: floor(x)

0 commit comments

Comments
 (0)