summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-14 01:00:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-14 01:00:53 (GMT)
commit1acde190b2676ecfa45d754667df36d6b9c9cc7e (patch)
treee5088a6ec81e2a6677da472c6ae52e15d8036f78 /Misc
parent28de64fd0fe45475e6d2263eec25c3d19c00074b (diff)
downloadcpython-1acde190b2676ecfa45d754667df36d6b9c9cc7e.zip
cpython-1acde190b2676ecfa45d754667df36d6b9c9cc7e.tar.gz
cpython-1acde190b2676ecfa45d754667df36d6b9c9cc7e.tar.bz2
Take Tim's advice and have random.sample() support only sequences and sets.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6abe08e..9e9aaae 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -355,6 +355,9 @@ Library
- Removed defunct parts of the random module (the Wichmann-Hill generator
and the jumpahead() method).
+- random.sample() now explicitly supports all sequences and sets while
+ explicitly excluding mappings.
+
- Patch #467924: add ZipFile.extract() and ZipFile.extractall() in the
zipfile module.