Expr vs Expression

Issue #15 new
Matthias Bussonnier created an issue

I just discovered that ast as Expr and Expression nodes, which appear to be different.
I don't see both described, and I'm not sure about the different. It might have to do with Eval vs exec and top-level vs not.

Comments (1)

  1. Thomas Kluyver repo owner

    Hey Matthias. 🙂

    Expression is a top-level node, which are all described separately under Modes. That section describes the difference between Expression and Expr, but it would be good to have a note under the Expr node as well.

  2. Log in to comment