(self, node: ast.Call)
python3.7+ breakpoint()
python3.7+ breakpoint()
python3 . 7 + breakpoint ()
def visit_Call(self, node: ast.Call) -> None:
        """python3.7+ breakpoint()"""
        if isinstance(node.func, ast.Name) and node.func.id == 'breakpoint':
            st = Debug(node.lineno, node.col_offset, node.func.id, 'called')
            self.breakpoints.append(st)
        self.generic_visit(node)
def visit_Call ( self , node : ast . Call ) -> None : if isinstance ( node . func , ast . Name ) and node . func . id == 'breakpoint' : st = Debug ( node . lineno , node . col_offset , node . func . id , 'called' ) self . breakpoints . append ( st ) self . generic_visit ( node )