commit | 37851d0e55b4f759dadf2ed6dc8ce7a28197e49f | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <senthil@uthcode.com> | Wed Sep 11 22:52:58 2013 -0700 |
committer | Senthil Kumaran <senthil@uthcode.com> | Wed Sep 11 22:52:58 2013 -0700 |
tree | af2b2f890c150f0e4235b661db50e18c5a437690 | |
parent | b65685f3f22d66e4f99abccf56ec54cdcce36c04 [diff] [blame] |
Improve the docstring of random.shuffle. Inform users not to provide int arg. Addresses issue #14927
diff --git a/Lib/random.py b/Lib/random.py index af04ab2..6fa1c05 100644 --- a/Lib/random.py +++ b/Lib/random.py
@@ -278,6 +278,8 @@ 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. """ if random is None: