MicroPython/sys.py

Sun, 04 Apr 2021 16:54:03 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 04 Apr 2021 16:54:03 +0200
changeset 11
c8198736bff3
parent 8
f706499906b8
permissions
-rw-r--r--

Updated BBC micro:bit APIs for V2.

# -*- 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