diff options
author | Bruno Daniel <bruno.daniel@blue-yonder.com> | 2015-05-10 14:47:29 +0200 |
---|---|---|
committer | Bruno Daniel <bruno.daniel@blue-yonder.com> | 2015-05-10 14:47:29 +0200 |
commit | e9a7fca36caaa22c48ee601ab463ad3c96feef01 (patch) | |
tree | a608b6823488ded68517b424eea1d952f525638f /pylint/extensions/check_docs.py | |
parent | 08c9b3e6558290d77bab2a506b72606317823ea3 (diff) | |
download | pylint-git-e9a7fca36caaa22c48ee601ab463ad3c96feef01.tar.gz |
method visit_class is no longer necessary in the checker; auxiliary method _visit_methods_of_class in the unit test
Diffstat (limited to 'pylint/extensions/check_docs.py')
-rw-r--r-- | pylint/extensions/check_docs.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pylint/extensions/check_docs.py b/pylint/extensions/check_docs.py index 409255763..06bb994ac 100644 --- a/pylint/extensions/check_docs.py +++ b/pylint/extensions/check_docs.py @@ -309,17 +309,6 @@ class ParamDocChecker(BaseChecker): return params_with_doc, params_with_type - def visit_class(self, node): - """Called for class definitions. - - :param node: Node for a class definition in the AST - :type node: :class:`astroid.scoped_nodes.Class` - """ - for body_item in node.body: - if (isinstance(body_item, astroid.scoped_nodes.Function) - and hasattr(body_item, 'name')): - self.visit_function(body_item) - def register(linter): """Required method to auto register this checker. |