Sun, 25 Aug 2019 19:25:37 +0200
Started to add the stubs for MicroPython.
# -*- coding: utf-8 -*- # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module containing stubs for API generation of the def 'uselect' module. """ def poll(): pass def select(rlist, wlist, xlist, timeout=-1): pass POLLIN = 1 POLLOUT = 4 POLLERR = 8 POLLHUP = 16 class Poll(): def register(self, obj, eventmask = POLLIN | POLLOUT): pass def unregister(self, obj): pass def modify(self, obj, eventmask): pass def poll(self, timeout=-1): pass def ipoll(self, timeout=-1, flags=0): pass