This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年11月17日 13:35 by grubert, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg203146 - (view) | Author: engelbert gruber (grubert) * | Date: 2013年11月17日 13:35 | |
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" ]] ")"
|
|||
| msg204303 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2013年11月25日 07:46 | |
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.
|
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:53 | admin | set | github: 63830 |
| 2013年11月25日 07:46:21 | georg.brandl | set | status: open -> closed nosy: + georg.brandl messages: + msg204303 resolution: works for me |
| 2013年11月17日 13:35:47 | grubert | create | |