File: builder.py

package info (click to toggle)
python-dogpile.cache 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 836 kB
  • sloc: python: 6,620; makefile: 159; sh: 104
file content (9 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
def autodoc_skip_member(app, what, name, obj, skip, options):
    if what == "class" and skip and name in ("__init__",) and obj.__doc__:
        return False
    else:
        return skip


def setup(app):
    app.connect("autodoc-skip-member", autodoc_skip_member)