Skip to content

Commit 4f7c23e

Browse files
authored
[3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)
1 parent b338ac7 commit 4f7c23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/random.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Functions for integers
141141
``randrange(10)``. In the future, this will raise a :exc:`TypeError`.
142142

143143
.. deprecated:: 3.10
144-
The exception raised for non-integral values such as ``randrange(10.5)``
144+
The exception raised for non-integer values such as ``randrange(10.5)``
145145
or ``randrange('10')`` will be changed from :exc:`ValueError` to
146146
:exc:`TypeError`.
147147

0 commit comments

Comments
 (0)