MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / randrange

Method randrange

Lib/random.py:173–234  ·  view source on GitHub ↗

Choose a random item from range(start, stop[, step]). This fixes the problem with randint() which includes the endpoint; in Python this is usually not what you want.

(self, start, stop=None, step=1, _int=int, _maxwidth=1L<<BPF)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

randintMethod · 0.95
randombytesFunction · 0.80
_random_getnodeFunction · 0.80
uuid1Function · 0.80
uuid4Function · 0.80
make_msgidFunction · 0.80
_make_boundaryFunction · 0.80

Calls 2

_randbelowMethod · 0.95
randomMethod · 0.45

Tested by

no test coverage detected