stubber.publish.enums ===================== .. py:module:: stubber.publish.enums .. autoapi-nested-parse:: Enumerations for the stubber package. Classes ------- .. autoapisummary:: stubber.publish.enums.StubSource Module Contents --------------- .. py:class:: StubSource Bases: :py:obj:`str`, :py:obj:`enum.Enum` 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'. .. py:attribute:: FIRMWARE :value: 'MCU stubs' stubs built by combining firmware-derived stubs (also referred to as firmware stubs), frozen, and core stubs .. py:attribute:: FROZEN :value: 'Frozen stubs' stubs of python modules that are frozen as part of the firmware image .. py:attribute:: CORE :value: 'Core stubs' stubs that allow (some) MicroPython code to be run by CPython .. py:attribute:: DOC :value: 'Doc stubs' stubs built by parsing the micropython RST documentation files .. py:attribute:: MERGED :value: 'Merged stubs' stubs built by merging the information from doc-stubs and firmware stubs .. py:method:: __str__() Return str(self). .. py:method:: __repr__() Return repr(self).