summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-directive-code/py-decorators.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-directive-code/py-decorators.rst')
-rw-r--r--tests/roots/test-directive-code/py-decorators.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/roots/test-directive-code/py-decorators.rst b/tests/roots/test-directive-code/py-decorators.rst
new file mode 100644
index 0000000..31417f5
--- /dev/null
+++ b/tests/roots/test-directive-code/py-decorators.rst
@@ -0,0 +1,17 @@
+py-decorators
+=============
+
+Various decorators
+------------------
+
+.. literalinclude:: py-decorators.inc
+ :name: literal_include_pydecorators_1
+ :pyobject: TheClass
+
+.. literalinclude:: py-decorators.inc
+ :name: literal_include_pydecorators_2
+ :pyobject: TheClass.the_method
+
+.. literalinclude:: py-decorators.inc
+ :name: literal_include_pydecorators_3
+ :pyobject: the_function