summaryrefslogtreecommitdiff
path: root/doc/sphinxext/numpydoc/docscrape.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinxext/numpydoc/docscrape.py')
-rw-r--r--doc/sphinxext/numpydoc/docscrape.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sphinxext/numpydoc/docscrape.py b/doc/sphinxext/numpydoc/docscrape.py
index e4bf308b5..8f26797fe 100644
--- a/doc/sphinxext/numpydoc/docscrape.py
+++ b/doc/sphinxext/numpydoc/docscrape.py
@@ -511,7 +511,7 @@ class ClassDoc(NumpyDocString):
return [name for name,func in inspect.getmembers(self._cls)
if ((not name.startswith('_')
or name in self.extra_public_methods)
- and callable(func))]
+ and callable(func) and not isinstance(func, type))]
@property
def properties(self):