[issue18844] allow weights in random.choice
Serhiy Storchaka
report at bugs.python.org
Wed Aug 6 20:25:02 CEST 2014
Serhiy Storchaka added the comment:
Non-generator weighted_choice() function is purposed to produce exactly one item. This is a use case for such optimization.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18844>
_______________________________________
More information about the Python-bugs-list
mailing list