]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-100805: Support numpy.array() in random.choice(). (GH-100830)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 Jan 2023 20:04:49 +0000 (12:04 -0800)
committerGitHub <noreply@github.com>
Sun, 8 Jan 2023 20:04:49 +0000 (12:04 -0800)
commit6184b800ee403d8c8c93b94fed1dbc3e0bade336
tree12c34bd7c48b347eb38143c3cb39bb2de60e1e1d
parent6c7e32f6a82fac22d52b4b27330286bd8982cc75
GH-100805:  Support numpy.array() in random.choice(). (GH-100830)

(cherry picked from commit 9a68ff12c3e647a4f8dd935919ae296593770a6b)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Lib/random.py
Lib/test/test_random.py
Misc/NEWS.d/next/Library/2023-01-07-15-13-47.gh-issue-100805.05rBz9.rst [new file with mode: 0644]