[issue19631] "exec" BNF in simple statements

2013-11-24 Thread Georg Brandl
Georg Brandl added the comment: That would be correct as a handwaving description, but it's wrong as a formal spec. The "or_expr" already includes the possibility of a tuple; there is no "exec(" token etc. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___

[issue19631] "exec" BNF in simple statements

2013-11-17 Thread engelbert gruber
New submission from engelbert gruber: the doc says:: exec_stmt ::= "exec" or_expr ["in" expression ["," expression]] imho it should read :: exec_stmt ::= "exec" expression ["in" expression ["," expression]] | "exec(" expression [ ", expression" [ ", expression" ]] ")"