From d3a0eacbf382288a487d40f16d63abfeb2125e1a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 6 Jun 2023 21:47:57 +0200 Subject: gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385) --- Doc/library/math.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 9e58b55..9caf723 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -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) -- cgit v0.12