stubber.publish.enums¶
Enumerations for the stubber package.
Classes¶
str(object='') -> str |
Module Contents¶
- class stubber.publish.enums.StubSource¶
-
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
- FIRMWARE = 'MCU stubs'¶
stubs built by combining firmware-derived stubs (also referred to as firmware stubs), frozen, and core stubs
- FROZEN = 'Frozen stubs'¶
stubs of python modules that are frozen as part of the firmware image
- CORE = 'Core stubs'¶
stubs that allow (some) MicroPython code to be run by CPython
- DOC = 'Doc stubs'¶
stubs built by parsing the micropython RST documentation files
- MERGED = 'Merged stubs'¶
stubs built by merging the information from doc-stubs and firmware stubs
- __str__()¶
Return str(self).
- __repr__()¶
Return repr(self).