34 lines
628 B
ReStructuredText
34 lines
628 B
ReStructuredText
{{ fullname | escape | underline}}
|
|
|
|
.. currentmodule:: {{ module }}
|
|
|
|
.. autoclass:: {{ objname }}
|
|
|
|
{% block methods %}
|
|
{% if methods %}
|
|
.. rubric:: {{ _('Methods') }}
|
|
|
|
{% for item in methods %}
|
|
{% if not item.startswith('_') %}
|
|
.. automethod:: {{ item }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block attributes %}
|
|
{% if attributes %}
|
|
.. rubric:: {{ _('Attributes') }}
|
|
|
|
{% for item in attributes %}
|
|
.. autoattribute:: {{ item }}
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
.. include:: {{ fullname }}.examples
|
|
|
|
.. raw:: html
|
|
|
|
<div class="clearer"></div>
|