File: better_class.rst

package info (click to toggle)
python-imageio 2.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,016 kB
  • sloc: python: 26,044; makefile: 138
file content (30 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{ fullname | escape | underline}}

.. currentmodule:: {{ module }}

.. autoclass:: {{ objname }}

    .. currentmodule:: {{ module }}


    .. rubric:: {{ _('Methods') }}

    .. autosummary::
    {% for item in methods %}
    {% if item != "__init__"%}
        ~{{ name }}.{{ item }}
    {% endif %}
    {%- endfor %}


    .. rubric:: Attribute and Method Details

    {% for item in attributes %}
    .. autoattribute::  {{ module }}.{{ name }}.{{ item }}
    {%- endfor %}   

    {% for item in methods %}
    {% if item != "__init__"%}
    .. automethod::  {{ module }}.{{ name }}.{{ item }}
    {% endif %}
    {%- endfor %}