From: Victor Stinner Date: Tue, 6 Jun 2023 19:47:57 +0000 (+0200) Subject: gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385) X-Git-Tag: v3.13.0a1~1869 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3a0eacbf382288a487d40f16d63abfeb2125e1a;p=thirdparty%2FPython%2Fcpython.git gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385) --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 9e58b552576c..9caf7230eed0 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)