From: Raymond Hettinger Date: Tue, 7 Sep 2010 00:48:40 +0000 (+0000) Subject: Minor code cleanup X-Git-Tag: v3.2a3~406 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3051cc3a0d390ba153c07db9ce31a44700e332f2;p=thirdparty%2FPython%2Fcpython.git Minor code cleanup --- diff --git a/Lib/random.py b/Lib/random.py index 4ff65ab8ea57..8bfae1d16a1f 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -161,13 +161,13 @@ class Random(_random.Random): ## -------------------- integer methods ------------------- - def randrange(self, start, stop=None, step=1, int=int, default=None, - maxwidth=1< 0: if istart >= maxwidth: return self._randbelow(istart)