]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
authorVictor Stinner <vstinner@python.org>
Tue, 6 Jun 2023 19:47:57 +0000 (21:47 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 19:47:57 +0000 (21:47 +0200)
Doc/library/math.rst

index 9e58b552576ce6e269929b404dba52f1185c9c09..9caf7230eed0aa90fa7fb7cd73a3a7cfc54c6133 100644 (file)
@@ -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)