MCPcopy Index your code
hub / github.com/RustPython/RustPython / getrandbits

Method getrandbits

Lib/test/test_random.py:1362–1364  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

1360 return random.Random.random(self)
1361 class Mixin2:
1362 def getrandbits(self, n):
1363 called.add('Mixin2.getrandbits')
1364 return random.Random.getrandbits(self, n)
1365
1366 class SubClass5(Mixin1, random.Random):
1367 pass

Calls 1

addMethod · 0.45

Tested by

no test coverage detected