diff options
Diffstat (limited to 'pylint/utils.py')
-rw-r--r-- | pylint/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils.py b/pylint/utils.py index f220793..77f839b 100644 --- a/pylint/utils.py +++ b/pylint/utils.py @@ -818,7 +818,7 @@ class PyLintASTWalker(object): def __init__(self, linter): # callbacks per node types - self.nbstatements = 1 + self.nbstatements = 0 self.visit_events = collections.defaultdict(list) self.leave_events = collections.defaultdict(list) self.linter = linter |