Home | History | Annotate | Download | only in python2.7

Lines Matching full:getrandbits

55            "getstate","setstate","jumpahead", "WichmannHill", "getrandbits",
84 Optionally, implement a getrandbits() method so that randrange() can cover
252 getrandbits = self.getrandbits
256 # Only call self.getrandbits if the original random() builtin method
257 # has not been overridden or if a new getrandbits() was supplied.
259 if type(self.random) is _BuiltinMethod or type(getrandbits) is _Method:
261 r = getrandbits(k)
263 r = getrandbits(k)
811 def getrandbits(self, k):
812 """getrandbits(k) -> x. Generates a long int with k random bits."""
901 getrandbits = _inst.getrandbits