mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
ubuiltins: List decorators in separate section.
This moves the built-in decorators to their own section and uses `autodecorator` to indicate they are decorators.
This commit is contained in:
@@ -93,8 +93,6 @@ Class-related functions
|
||||
|
||||
.. autofunction:: ubuiltins.callable
|
||||
|
||||
.. autofunction:: ubuiltins.classmethod
|
||||
|
||||
.. autofunction:: ubuiltins.dir
|
||||
|
||||
.. autofunction:: ubuiltins.getattr
|
||||
@@ -107,8 +105,6 @@ Class-related functions
|
||||
|
||||
.. autofunction:: ubuiltins.setattr
|
||||
|
||||
.. autofunction:: ubuiltins.staticmethod
|
||||
|
||||
.. autofunction:: ubuiltins.super
|
||||
|
||||
Input/output functions
|
||||
@@ -135,3 +131,11 @@ Runtime-related functions
|
||||
.. autofunction:: ubuiltins.id
|
||||
|
||||
.. autofunction:: ubuiltins.help
|
||||
|
||||
|
||||
Method decorators
|
||||
-----------------
|
||||
|
||||
.. autodecorator:: ubuiltins.classmethod
|
||||
|
||||
.. autodecorator:: ubuiltins.staticmethod
|
||||
|
||||
Reference in New Issue
Block a user