On Mon, Nov 07, 2016 at 02:21:04AM -0200, Danilo J. S. Bellini wrote:
2016-11-06 23:55 GMT-02:00 Steven D'Aprano firstname.lastname@example.org:
On Sun, Nov 06, 2016 at 04:46:42PM -0200, Danilo J. S. Bellini wrote:
1.2. Sub-expressions in an expression might be on other statements (e.g. assignments, other functions).
Not in Python it can't be. Assignment is not an expression, you cannot say (x = 2) + 1.
O.o ... how is that (x = 2) + 1 related to what I wrote?
I misread your comment as "Sub-expressions in an expression might be other statements".
Sorry for the misunderstanding.