mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-10-27 06:20:27 +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:
1 parent
49ade9d9c6
commit
f2124615ba
1 file changed
+8
-4
@@ -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