Roy Smith <[email protected]> added the comment:

The docs describe population as a "sequence".  Your patch describes it as a 
"list".  I would go with:

If *len(population)* is less than *k*, raises :exc:`ValueError`.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15265>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to