python grammar

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

  1. tpochep

    tpochep Guest

    tpochep, Jan 22, 2007
    #1
    1. Advertisements

  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. Advertisements

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. Bhupesh Naik
    Replies:
    2
    Views:
    4,039
    Bhupesh Naik
    Aug 7, 2003
  2. exits funnel

    Java Grammar Parser?

    exits funnel, Jul 15, 2003, in forum: Java
    Replies:
    3
    Views:
    8,965
    Roedy Green
    Jul 19, 2003
  3. Edward C. Jones

    Convert Python grammar specs to ANTLR

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

    python bytecode grammar

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

    Python keywords vs. English grammar

    Roy Smith, May 24, 2006, in forum: Python
    Replies:
    7
    Views:
    465
    Roy Smith
    May 25, 2006
  6. Replies:
    4
    Views:
    564
    Ben Sizer
    Oct 2, 2006
  7. alefajnie

    Graphical grammar in python

    alefajnie, Apr 13, 2008, in forum: Python
    Replies:
    0
    Views:
    349
    alefajnie
    Apr 13, 2008
  8. Chris Angelico
    Replies:
    1
    Views:
    145
    Stefan Schwarzer
    Apr 15, 2013
Loading...