summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-domain-py/module_option.rst
blob: 1dec2ce0c2e47adcea1a534c4dee89c6dc2aaeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module_option
=============

.. py:class:: B
   :module: test.extra

   This is also a test.


   .. py:method:: B.baz()
      :module: test.extra

      Does something similar to :meth:`foo`.


   .. py:method:: B.foo()
      :module: test.extra

      Does something.


   .. py:method:: B.test()
      :module: test.extra

      Does something completely unrelated to :meth:`foo`