python grammar

T

Tim Roberts

tpochep said:
In 'augop' non-terminal :

http://docs.python.org/ref/augassign.html

the delimiter '//=' was skipped. Why?

Probably an oversight. //= is relatively new.
In 'Boolean operations':

http://docs.python.org/ref/Booleans.html

In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and
'else' must be keywords, not non-terminals.

Yes, those refer to literal keywords.

I'd judge both of those as errors in the web page. There is a link on the
page for reporting problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top