summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-05-02 23:45:32 (GMT)
committerGitHub <noreply@github.com>2020-05-02 23:45:32 (GMT)
commit190fac99c58232f3e0b34891872b91e50ea2f057 (patch)
tree13a0e6733986b407a8f7898f2a1829552d96e425 /Doc
parent766352320fd736e2c8ed545b4cc57563f61a0b9d (diff)
downloadcpython-190fac99c58232f3e0b34891872b91e50ea2f057.zip
cpython-190fac99c58232f3e0b34891872b91e50ea2f057.tar.gz
cpython-190fac99c58232f3e0b34891872b91e50ea2f057.tar.bz2
bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/random.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 291eca3..43a9902 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -208,6 +208,9 @@ Functions for sequences
generated. For example, a sequence of length 2080 is the largest that
can fit within the period of the Mersenne Twister random number generator.
+ .. deprecated-removed:: 3.9 3.11
+ The optional parameter *random*.
+
.. function:: sample(population, k)