This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roysmith
Recipients docs@python, kmox83, rhettinger, roysmith
Date 2012-07-07.13:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341668301.45.0.373785328924.issue15265@psf.upfronthosting.co.za>
In-reply-to
Content
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`.
History
Date User Action Args
2012-07-07 13:38:21roysmithsetrecipients: + roysmith, rhettinger, docs@python, kmox83
2012-07-07 13:38:21roysmithsetmessageid: <1341668301.45.0.373785328924.issue15265@psf.upfronthosting.co.za>
2012-07-07 13:38:20roysmithlinkissue15265 messages
2012-07-07 13:38:20roysmithcreate