python grammar

Discussion in 'Python' started by tpochep, Jan 22, 2007.

  1. tpochep

    tpochep Guest

    tpochep, Jan 22, 2007
    #1
    1. Advertising

  2. tpochep

    Tim Roberts Guest

    "tpochep" <> 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,
    Providenza & Boekelheide, Inc.
     
    Tim Roberts, Jan 23, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Edward C. Jones

    Convert Python grammar specs to ANTLR

    Edward C. Jones, Feb 27, 2004, in forum: Python
    Replies:
    0
    Views:
    417
    Edward C. Jones
    Feb 27, 2004
  2. M1st0

    python bytecode grammar

    M1st0, Jun 10, 2005, in forum: Python
    Replies:
    11
    Views:
    547
    Bengt Richter
    Jun 26, 2005
  3. Roy Smith

    Python keywords vs. English grammar

    Roy Smith, May 24, 2006, in forum: Python
    Replies:
    7
    Views:
    352
    Roy Smith
    May 25, 2006
  4. Replies:
    4
    Views:
    461
    Ben Sizer
    Oct 2, 2006
  5. alefajnie

    Graphical grammar in python

    alefajnie, Apr 13, 2008, in forum: Python
    Replies:
    0
    Views:
    292
    alefajnie
    Apr 13, 2008
Loading...

Share This Page