Improve the docstring of random.shuffle. Inform users not to provide int arg.

Addresses issue #14927
This commit is contained in:
Senthil Kumaran 2013-09-11 22:54:31 -07:00
parent b9183950d8
commit f8ce51ab16
1 changed files with 2 additions and 0 deletions

View File

@ -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