tests/roots/test-directive-code/py-decorators.rst
raw| 1 | py-decorators |
| 2 | ============= |
| 3 | |
| 4 | Various decorators |
| 5 | ------------------ |
| 6 | |
| 7 | .. literalinclude:: py-decorators.inc |
| 8 | :name: literal_include_pydecorators_1 |
| 9 | :pyobject: TheClass |
| 10 | |
| 11 | .. literalinclude:: py-decorators.inc |
| 12 | :name: literal_include_pydecorators_2 |
| 13 | :pyobject: TheClass.the_method |
| 14 | |
| 15 | .. literalinclude:: py-decorators.inc |
| 16 | :name: literal_include_pydecorators_3 |
| 17 | :pyobject: the_function |