Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 966 Bytes

custom-class-template.rst

File metadata and controls

38 lines (31 loc) · 966 Bytes

{{ name | escape | underline}}

{{ module }}

{{ objname }}

{% block attributes %} {% if attributes %} .. rubric:: {{ _('Attributes') }}

{% for item in attributes %} {% if item.0 != item.upper().0 and item not in inherited_members %} {{ name }}.{{ item }} {% endif %} {%- endfor %}

{% endif %} {% endblock %}

{% block methods %} {% if methods %} .. rubric:: {{ _('Methods') }}

{% for item in methods %} {% if item != "__init__" and item not in inherited_members %} {{ name }}.{{ item }} {% endif %} {%- endfor %}

{% endif %} {% endblock %}

{{ module }}.{{ objname }}