From d59cb5c2dfeae2282b804459b76a4ef5f9243ccf Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 29 Dec 2008 20:39:14 +0100 Subject: Add comment. --- sphinx/pycode/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sphinx/pycode') diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py index e006ce16..26d3579d 100644 --- a/sphinx/pycode/__init__.py +++ b/sphinx/pycode/__init__.py @@ -74,6 +74,7 @@ class ClassAttrVisitor(pytree.NodeVisitor): self.collected.append((name, doc)) def visit_funcdef(self, node): + # don't descend into functions -- nothing interesting there return -- cgit v1.2.1