def visit_constant(self, node, parent):
        """visit a Constant node by returning a fresh instance of Const"""
        return nodes.Const(
            node.value,
            getattr(node, "lineno", None),
            getattr(node, "col_offset", None),
            parent,
        )
def visit_constant ( self , node , parent ) : return nodes . Const ( node . value , getattr ( node , "lineno" , None ) , getattr ( node , "col_offset" , None ) , parent , )
visit a Constant node by returning a fresh instance of Const