CircuitPython/time.py

changeset 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/time.py	Thu Aug 29 19:05:05 2019 +0200
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'time' module.
+"""
+
+def monotonic():
+    pass
+
+def sleep(seconds):
+    pass
+
+def time():
+    pass
+
+def monotonic_ns():
+    pass
+
+def localtime(secs=None):
+    pass
+
+def mktime(t):
+    pass
+
+class struct_time():
+    def __init__(self, time_tuple):
+        pass
+    

eric ide

mercurial