python grammar

Tim Roberts timr at probo.com
Tue Jan 23 08:33:44 CET 2007


"tpochep" <tpochep at mail.ru> wrote:
>
>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.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list