MicroPython/ucollections.py

changeset 2
2c3f30af031d
diff -r afcd3f0662b1 -r 2c3f30af031d MicroPython/ucollections.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MicroPython/ucollections.py	Sun Aug 25 19:25:37 2019 +0200
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'ucollections' module.
+"""
+
+class deque():
+    def __init__(self, iterable, maxlen, flags=0):
+        pass
+    
+    def append(self, x):
+        pass
+    
+    def popleft(self):
+        pass
+
+class namedtuple():
+    def __init__(self, name, fields):
+        pass
+
+class OrderedDict():
+    def __init__(self, iterableOfKeyValue):
+        pass

eric ide

mercurial