Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927
This commit is contained in:
parent
b9183950d8
commit
f8ce51ab16
|
@ -256,6 +256,8 @@ class Random(_random.Random):
|
|||
|
||||
Optional arg random is a 0-argument function returning a random
|
||||
float in [0.0, 1.0); by default, the standard random.random.
|
||||
|
||||
Do not supply the 'int' argument.
|
||||
"""
|
||||
|
||||
randbelow = self._randbelow
|
||||
|
|
Loading…
Reference in New Issue