diff options
author | Raymond Hettinger <python@rcn.com> | 2008-01-14 01:00:53 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-01-14 01:00:53 (GMT) |
commit | 1acde190b2676ecfa45d754667df36d6b9c9cc7e (patch) | |
tree | e5088a6ec81e2a6677da472c6ae52e15d8036f78 /Misc | |
parent | 28de64fd0fe45475e6d2263eec25c3d19c00074b (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |