MCPcopy Index your code
hub / github.com/python/cpython / getrandbits

Method getrandbits

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

Source from the content-addressed store, hash-verified

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

Callers 15

make_msgidFunction · 0.45
test_uuid6_nodeMethod · 0.45
test_uuid6_clock_seqMethod · 0.45
test_uuid7Method · 0.45
test_uuid8Method · 0.45
make_finalizersMethod · 0.45
test_getrandbitsMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected