CircuitPython/random.py

changeset 7
e336d6afc5a6
equal deleted inserted replaced
6:81a2208f13e4 7:e336d6afc5a6
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'random' module.
8 """
9
10 def seed(seed):
11 pass
12
13 def getrandbits(k):
14 pass
15
16 def randrange(stop):
17 pass
18
19 def randrange(start, stop, step=1):
20 pass
21
22 def randint(a, b):
23 pass
24
25 def choice(seq):
26 pass
27
28 def random():
29 pass
30
31 def uniform(a, b):
32 pass
33

eric ide

mercurial