MicroPython/sys.py

Thu, 29 Aug 2019 19:05:30 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 29 Aug 2019 19:05:30 +0200
changeset 8
f706499906b8
parent 2
2c3f30af031d
permissions
-rw-r--r--

MicroPython: corrected some stub files.

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

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

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

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

def exit(retval=0):
    pass

def atexit(func):
    pass

def print_exception(exc, file=stdout):
    pass

eric ide

mercurial