tests/sphinx/testdata/package/module.py
raw| 1 | """ |
| 2 | Example docstring |
| 3 | """ |
| 4 | |
| 5 | from django.utils.functional import cached_property |
| 6 | from tests.sphinx.testdata.package.wildcard_module import * # noqa |
| 7 | |
| 8 | from . import other_module # noqa |
| 9 | from .other_module import MyOtherClass # noqa |
| 10 | |
| 11 | |
| 12 | class MyClass(object): |
| 13 | def __init__(self): |
| 14 | pass |
| 15 | |
| 16 | def my_method(self): |
| 17 | pass |
| 18 | |
| 19 | @cached_property |
| 20 | def my_cached_property(self): |
| 21 | pass |
| 22 | |
| 23 | |
| 24 | def my_function(self): |
| 25 | pass |