[docs] [issue28475] Misleading error on random.sample when k < 0

Raymond Hettinger report at bugs.python.org
Wed Oct 19 16:49:02 EDT 2016


Raymond Hettinger added the comment:

I would rather revise the existing message to say that it cannot be negative or larger that population.

----------

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


More information about the docs mailing list