--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MicroPython/uio.py Sun Aug 25 19:25:37 2019 +0200 @@ -0,0 +1,130 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the def 'uiodef' module. +""" + +def open(name, mode='r', **kwargs): + pass + +class FileIO(): + def __init__(self, name, mode='r', **kwargs): + pass + + def close(self): + pass + + def flush(self): + pass + + def read(self, size=-1): + pass + + def readinto(self, b): + pass + + def readline(self, size=-1): + pass + + def readlines(self, hint=-1): + pass + + def seek(self, offset, whence=0): + pass + + def tell(self): + pass + + def write(self, b): + pass + +class TextIOWrapper(): + def __init__(self, name, mode='r', **kwargs): + pass + + def close(self): + pass + + def flush(self): + pass + + def read(self, size=-1): + pass + + def readinto(self, b): + pass + + def readline(self, size=-1): + pass + + def readlines(self, hint=-1): + pass + + def seek(self, offset, whence=0): + pass + + def tell(self): + pass + + def write(self, s): + pass + +class StringIO(): + def __init__(self, initial_value=""): + pass + + def close(self): + pass + + def flush(self): + pass + + def getvalue(self): + pass + + def read(self, size=-1): + pass + + def readinto(self, b): + pass + + def readline(self, size=-1): + pass + + def seek(self, offset, whence=0): + pass + + def write(self, s): + pass + + +class BytesIO(): + def __init__(self, initial_value=b""): + pass + + def close(self): + pass + + def flush(self): + pass + + def getvalue(self): + pass + + def read(self, size=-1): + pass + + def readinto(self, b): + pass + + def readline(self, size=-1): + pass + + def seek(self, offset, whence=0): + pass + + def write(self, b): + pass