summaryrefslogtreecommitdiff
path: root/tests/sphinx/testdata/package/module.py
blob: 987923b55ee17e68cbb99870bab0038ed5973945 (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
"""
Example docstring
"""

from django.utils.functional import cached_property
from tests.sphinx.testdata.package.wildcard_module import *  # noqa

from . import other_module  # noqa
from .other_module import MyOtherClass  # noqa


class MyClass(object):
    def __init__(self):
        pass

    def my_method(self):
        pass

    @cached_property
    def my_cached_property(self):
        pass


def my_function(self):
    pass