]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #964230: random.choice([]) should return more intelligible exception
authorRaymond Hettinger <python@rcn.com>
Sat, 5 Jun 2004 14:53:22 +0000 (14:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 5 Jun 2004 14:53:22 +0000 (14:53 +0000)
commit9021c955951c63ef3075b4751615af329427d3ec
treecbce18feb4a45176884aa7114231fec740869cbe
parentba8b6bc86fcb00b37a53f8edd8f38c4b0e77f3a5
SF bug #964230:  random.choice([]) should return more intelligible exception

Add a comment to make the traceback less mysterious.
Lib/random.py