def generic_visit(self, node):
        """ main reason for overwriting this method is to be able to
            calculate how many line are in a block (function/method/class/...) """
        try:    self.current[LINENR] = node.lineno
        except: pass
        # traverse further nodes
        ast.NodeVisitor.generic_visit(self, node)
 main reason for overwriting this method is to be able to
            calculate how many line are in a block (function/method/class/...) 
recipes/Python/578023_Simple_Python_Checker/recipe-578023.py