[Python-checkins] [3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)
hugovk
webhook-mailer at python.org
Sat Jul 22 04:37:19 EDT 2023
https://github.com/python/cpython/commit/4f7c23e4dfb4b932b3916f8f79895e2a1bf3ae43
commit: 4f7c23e4dfb4b932b3916f8f79895e2a1bf3ae43
branch: 3.11
author: Sebastiaan Zeeff <33516116+SebastiaanZ at users.noreply.github.com>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-07-22T02:37:16-06:00
summary:
[3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)
files:
M Doc/library/random.rst
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 3109343a3c52d..4af4f83e280ca 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -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`.
More information about the Python-checkins
mailing list