summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-27 04:45:57 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-27 04:45:57 (GMT)
commit9016f2864affea83d4d2c02f4396823f8a56b394 (patch)
treebd12f48eed87079bd24d43bace81be5c46c7af21 /Misc/NEWS
parent22805ca54e1e5db4b66be1b28b0baac2b1b4b4de (diff)
downloadcpython-9016f2864affea83d4d2c02f4396823f8a56b394.zip
cpython-9016f2864affea83d4d2c02f4396823f8a56b394.tar.gz
cpython-9016f2864affea83d4d2c02f4396823f8a56b394.tar.bz2
Issue #18844: Make the number of selections a keyword-only argument for random.choices().
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b5e9a75..3ce38f8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,10 @@ Library
- Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
+- Issue #18844: random.choices() now has k as a keyword-only argument
+ to improve the readability of common cases and the come into line
+ with the signature used in other languages.
+
- Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py.
Patch by Madison May.