mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
TConst does not exist, so adding it makes it a bit harder to read than needed. The const() "function" will take int or float, and the return value can be used as such, even if it is optimized out. This is described in the docstring, so we can leave out the additional type. Also adds autofunctions in place of one auto module so we can move things around as needed. Also fix cross links with usys to get the build to pass before we update that module.
21 lines
377 B
ReStructuredText
21 lines
377 B
ReStructuredText
:mod:`micropython` -- MicroPython internals
|
|
===========================================
|
|
|
|
.. automodule:: micropython
|
|
:no-members:
|
|
|
|
.. autofunction:: micropython.const
|
|
|
|
.. autofunction:: micropython.opt_level
|
|
|
|
.. autofunction:: micropython.mem_info
|
|
|
|
.. autofunction:: micropython.qstr_info
|
|
|
|
.. autofunction:: micropython.stack_use
|
|
|
|
.. autofunction:: micropython.kbd_intr
|
|
|
|
|
|
|