diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-11-14 15:03:39 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-11-14 15:03:39 +0000 |
commit | 5a0e7560e7206f9c0f049d8176eab0f8c0b951c6 (patch) | |
tree | 6b908d199a9633b78981f125ae581d1833908477 | |
parent | d6997779c47c3ea56df71cdabfea9f425b2ed3a7 (diff) | |
download | numpy-5a0e7560e7206f9c0f049d8176eab0f8c0b951c6.tar.gz |
sphinxext: fix a small bug in docscrape
-rw-r--r-- | doc/sphinxext/docscrape_sphinx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinxext/docscrape_sphinx.py b/doc/sphinxext/docscrape_sphinx.py index af8486f25..9f4350d46 100644 --- a/doc/sphinxext/docscrape_sphinx.py +++ b/doc/sphinxext/docscrape_sphinx.py @@ -196,9 +196,9 @@ class SphinxFunctionDoc(SphinxDocString, FunctionDoc): FunctionDoc.__init__(self, obj, doc=doc, config=config) class SphinxClassDoc(SphinxDocString, ClassDoc): - def __init__(self, obj, doc=None, config={}): + def __init__(self, obj, doc=None, func_doc=None, config={}): self.use_plots = config.get('use_plots', False) - ClassDoc.__init__(self, obj, doc=doc, config=config) + ClassDoc.__init__(self, obj, doc=doc, func_doc=None, config=config) class SphinxObjDoc(SphinxDocString): def __init__(self, obj, doc=None, config={}): |