CircuitPython/random.py

changeset 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/random.py	Thu Aug 29 19:05:05 2019 +0200
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'random' module.
+"""
+
+def seed(seed):
+    pass
+
+def getrandbits(k):
+    pass
+
+def randrange(stop):
+    pass
+
+def randrange(start, stop, step=1):
+    pass
+
+def randint(a, b):
+    pass
+
+def choice(seq):
+    pass
+
+def random():
+    pass
+
+def uniform(a, b):
+    pass
+

eric ide

mercurial