Debian Codegraph @

tests/roots/test-toctree-domain-objects/domains.rst

raw
1 test-domain-objects
2 ===================
3
4 .. py:module:: hello
5
6 .. py:function:: world() -> str
7
8 Prints "Hello, World!" to stdout
9
10 .. py:class:: HelloWorldPrinter
11
12 Controls printing of hello world
13
14 .. py:method:: set_language()
15
16 Sets the language of the HelloWorldPrinter instance
17
18 .. py:attribute:: output_count
19
20 Count of outputs of "Hello, World!"
21
22 .. py:method:: print_normal()
23 :async:
24 :classmethod:
25
26 Prints the normal form of "Hello, World!"
27
28 .. py:method:: print()
29
30 Prints "Hello, World!", including in the chosen language
31
32 .. py:function:: exit()
33 :module: sys
34
35 Quits the interpreter
36
37 .. js:function:: fetch(resource)
38
39 Fetches the given resource, returns a Promise