]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)
authorSebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com>
Sat, 22 Jul 2023 08:37:16 +0000 (10:37 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 08:37:16 +0000 (02:37 -0600)
Doc/library/random.rst

index 3109343a3c52df5d13fc4e679b7a0f454f4cfc5e..4af4f83e280ca793cfbaba5ec0d27721cd6a020b 100644 (file)
@@ -141,7 +141,7 @@ Functions for integers
       ``randrange(10)``.  In the future, this will raise a :exc:`TypeError`.
 
    .. deprecated:: 3.10
-      The exception raised for non-integral values such as ``randrange(10.5)``
+      The exception raised for non-integer values such as ``randrange(10.5)``
       or ``randrange('10')`` will be changed from :exc:`ValueError` to
       :exc:`TypeError`.