File: the_module.py

package info (click to toggle)
pytkdocs 0.16.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 784 kB
  • sloc: python: 4,621; makefile: 28; javascript: 13
file content (56 lines) | stat: -rw-r--r-- 1,302 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"""The module docstring."""

THE_ATTRIBUTE: int = 0
"""The attribute docstring."""


def the_function():
    """The function docstring."""


class TheClass:
    """The class docstring."""

    THE_ATTRIBUTE: float = 0.1
    """The attribute 0.1 docstring."""

    class TheNestedClass:
        """The nested class docstring."""

        THE_ATTRIBUTE: float = 0.2
        """The attribute 0.2 docstring."""

        class TheDoubleNestedClass:
            """The double nested class docstring."""

            THE_ATTRIBUTE: float = 0.3
            """The attribute 0.3 docstring."""

            def the_method(self):
                """The method3 docstring."""

        def the_method(self):
            """The method2 docstring."""

    def the_method(self):
        """The method1 docstring."""

    @staticmethod
    def the_static_method():
        """The static method docstring."""

    @classmethod
    def the_class_method(cls):
        """The class method docstring."""

    @property
    def the_property(self):
        """The property docstring."""

    @property
    def the_writable_property(self):
        """The writable property getter docstring."""

    @the_writable_property.setter
    def the_writable_property(self, value):
        """The writable property setter docstring."""