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" ]] ")"

----------
assignee: docs@python
components: Documentation
messages: 203146
nosy: docs@python, grubert
priority: normal
severity: normal
status: open
title: "exec" BNF in simple statements
versions: Python 2.6, Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19631>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to