module.py 434 B

12345678910111213141516171819202122232425
  1. """
  2. Example docstring
  3. """
  4. from django.utils.functional import cached_property
  5. from tests.sphinx.testdata.package.wildcard_module import * # noqa
  6. from . import other_module # noqa
  7. from .other_module import MyOtherClass # noqa
  8. class MyClass(object):
  9. def __init__(self):
  10. pass
  11. def my_method(self):
  12. pass
  13. @cached_property
  14. def my_cached_property(self):
  15. pass
  16. def my_function(self):
  17. pass