class.rst 625 B

12345678910111213141516171819202122232425262728293031323334
  1. {{ fullname | escape | underline}}
  2. {{ release }}
  3. .. currentmodule:: {{ module }}
  4. .. autoclass:: {{ objname }}
  5. :members:
  6. :show-inheritance:
  7. :inherited-members:
  8. {% block methods %}
  9. .. automethod:: __init__
  10. {% if methods %}
  11. .. rubric:: {{ _('Methods') }}
  12. .. autosummary::
  13. {% for item in methods %}
  14. ~{{ name }}.{{ item }}
  15. {%- endfor %}
  16. {% endif %}
  17. {% endblock %}
  18. {% block attributes %}
  19. {% if attributes %}
  20. .. rubric:: {{ _('Attributes') }}
  21. .. autosummary::
  22. {% for item in attributes %}
  23. ~{{ name }}.{{ item }}
  24. {%- endfor %}
  25. {% endif %}
  26. {% endblock %}