PyDocs

Nav

Python Language Services

BinOp

ast

class
  • BinOp(left, op, right)
BinOp(expr left, operator op, expr right)
1 Example
>>> print(ast.dump(ast.parse('x + y', mode='eval'), indent=4))
Expression(
    body=BinOp(
        left=Name(id='x'),
        op=Add(),
        right=Name(id='y')))
from the Python docs
See Also
No see-alsos for ast/BinOp
0 Notes
No notes for BinOp