Skip to content

Latest commit

 

History

History
146 lines (76 loc) · 2 KB

File metadata and controls

146 lines (76 loc) · 2 KB

Builtin Functions

All builtin functions are described here. They are also available via builtins module.

.. function:: abs()

.. function:: all()

.. function:: any()

.. function:: bin()

.. function:: callable()

.. function:: chr()

.. function:: classmethod()

.. function:: compile()

.. function:: delattr(obj, name)

   The argument *name* should be a string, and this function deletes the named
   attribute from the object given by *obj*.

.. function:: dir()

.. function:: divmod()

.. function:: enumerate()

.. function:: eval()

.. function:: exec()

.. function:: filter()

.. function:: getattr()

.. function:: globals()

.. function:: hasattr()

.. function:: hash()

.. function:: hex()

.. function:: id()

.. function:: input()

.. classmethod:: from_bytes(bytes, byteorder)

   In MicroPython, `byteorder` parameter must be positional (this is
   compatible with CPython).

.. method:: to_bytes(size, byteorder)

   In MicroPython, `byteorder` parameter must be positional (this is
   compatible with CPython).
.. function:: isinstance()

.. function:: issubclass()

.. function:: iter()

.. function:: len()

.. function:: locals()

.. function:: map()

.. function:: max()

.. function:: min()

.. function:: next()

.. function:: oct()

.. function:: open()

.. function:: ord()

.. function:: pow()

.. function:: print()

.. function:: property()

.. function:: range()

.. function:: repr()

.. function:: reversed()

.. function:: round()

.. function:: setattr()

The slice builtin is the type that slice objects have.

.. function:: sorted()

.. function:: staticmethod()

.. function:: sum()

.. function:: super()

.. function:: type()

.. function:: zip()