socr / docs /_templates /class.rst
scfive's picture
Upload 203 files
d6ea71e verified
raw
history blame contribute delete
721 Bytes
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block attributes %}
{% if attributes %}
.. rubric:: Attributes
.. autosummary::
:nosignatures:
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block methods %}
{% if methods %}
.. rubric:: Methods
.. autosummary::
:nosignatures:
:toctree: methods
{% for item in methods %}
{%- if item not in inherited_members %}
~{{ name }}.{{ item }}
{%- endif %}
{%- endfor %}
{% endif %}
{%- if members and '__call__' in members %}
~{{ name }}.__call__
{%- endif %}
{% endblock %}