From 6bad9c700f2c919041079780830c1a94962e8870 Mon Sep 17 00:00:00 2001 From: Paco Hope Date: Mon, 3 Sep 2018 23:40:01 +0100 Subject: [PATCH] remove unreferenced _bigrand() function --- lib/random.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/random.py b/lib/random.py index e0e2ec8..76c324e 100644 --- a/lib/random.py +++ b/lib/random.py @@ -10,13 +10,6 @@ try: except ImportError: import random as sysrand -# arbitrary: max is 32-bit -_bigrand_max = pow(2, 32) - -def _bigrand(): - """generates a random number between 0 (incl) and _bigrand_max (excl)""" - return int(sysrand.getrandbits(32)) - def random(): """Return the next random floating point number in the range [0.0, 1.0).""" return sysrand.random()