def binop(x, op, y, lineno=None, col=None):
 lineno = (x.lineno if (lineno is None) else lineno)
 col = (x.col_offset if (col is None) else col)
 return ast.BinOp(left=x, op=op, right=y, lineno=lineno, col_offset=col)

def binop ( x , op , y , lineno = None , col = None ) : lineno = ( x . lineno if ( lineno is None ) else lineno ) col = ( x . col_offset if ( col is None ) else col ) return ast . BinOp ( left = x , op = op , right = y , lineno = lineno , col_offset = col )
creates the ast node for a binary operation .