Commit 940546f8 authored by Davis King's avatar Davis King

Make python docs include __call__ and __init__

parent 851d70a5
......@@ -244,3 +244,14 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
# Make sphinx document constructors and __call__
def skip(app, what, name, obj, skip, options):
if name == "__init__" or name == "__call__":
return False
return skip
def setup(app):
app.connect("autodoc-skip-member", skip)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment