MicroPython/sys.py

Tue, 27 Aug 2019 12:27:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 27 Aug 2019 12:27:36 +0200
changeset 4
f5e2683cdbe6
parent 2
2c3f30af031d
child 8
f706499906b8
permissions
-rw-r--r--

Finished the MicroPython stubs.

# -*- coding: utf-8 -*-

# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module containing stubs for API generation of the 'sys' module.
"""

def exit(retval=0):
    pass

def atexit(func):
    pass

def print_exception(exc, file=sys.stdout):
    pass

argv = []
byteorder = ""
implementation = tuple()
maxsize = 1
modules = {}
path = []
platform = ""
stderr = 2
stdin = 0
stdout = 1
version = ""
version_info = tuple()

eric ide

mercurial