Eric Smith <[email protected]> added the comment:
I'm not exactly sure what wording to use here.
element_index: `integer` | `identifier`
is not exactly correct, because it can be a non-identifier (as the example that
eddy quotes points out. It's really "any sequence of characters except ']'".
Any ideas on the best way to express that? Maybe taking a clue from string
literals, this would be:
element_index: `integer` | index_string
index_string: <any source character except "]"> +
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com