We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b338ac7 commit 4f7c23eCopy full SHA for 4f7c23e
Doc/library/random.rst
@@ -141,7 +141,7 @@ Functions for integers
141
``randrange(10)``. In the future, this will raise a :exc:`TypeError`.
142
143
.. deprecated:: 3.10
144
- The exception raised for non-integral values such as ``randrange(10.5)``
+ The exception raised for non-integer values such as ``randrange(10.5)``
145
or ``randrange('10')`` will be changed from :exc:`ValueError` to
146
:exc:`TypeError`.
147
0 commit comments