From 9021c955951c63ef3075b4751615af329427d3ec Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 5 Jun 2004 14:53:22 +0000 Subject: [PATCH] SF bug #964230: random.choice([]) should return more intelligible exception Add a comment to make the traceback less mysterious. --- Lib/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/random.py b/Lib/random.py index 58865fc59b9..92163bb6084 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -237,7 +237,7 @@ def _randbelow(self, n, _log=_log, int=int, _maxwidth=1L< shuffle list x in place; return None.