[issue18844] allow weights in random.choice

Madison May report at bugs.python.org
Wed Sep 25 00:36:07 CEST 2013


Madison May added the comment:

You have me convinced, Serhiy.  I see the value in making the two functions distinct.

For naming purposes, perhaps weighted_index() would be more descriptive.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18844>
_______________________________________


More information about the Python-bugs-list mailing list