File: inline_autoclasssumm.py

package info (click to toggle)
python-autodocsumm 0.2.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 536 kB
  • sloc: python: 985; makefile: 171; sh: 21
file content (15 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class MyClass(object):
    """Some class

    .. autoclasssumm:: MyClass
        :autosummary-sections: Methods

    This will be after the autosummary table.
    """

    def do_something(self):
        """Do something"""
        pass

    #: Any instance attribute
    some_attr = None