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:52:58 -07:00
parent b65685f3f2
commit 37851d0e55
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ class Random(_random.Random):
Optional arg random is a 0-argument function returning a random Optional arg random is a 0-argument function returning a random
float in [0.0, 1.0); by default, the standard random.random. float in [0.0, 1.0); by default, the standard random.random.
Do not supply the 'int' argument.
""" """
if random is None: if random is None: