[issue18844] allow weights in random.choice

Westley Martínez report at bugs.python.org
Mon Sep 16 06:00:25 CEST 2013


Westley Martínez added the comment:

I think Storchaka's solution is more transparent and I agree with him on the point that the choice generator should be exposed.

----------

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


More information about the Python-bugs-list mailing list