diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-27 18:36:14 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-27 18:36:14 (GMT) |
commit | bb40dc48928269d3f60e60e0642b56ecfca2913c (patch) | |
tree | 81121bbfba9ab5049026f0214c489f36244d6644 | |
parent | 8216c18984fb74a1d3ad06797076940ca96304e9 (diff) | |
download | cpython-bb40dc48928269d3f60e60e0642b56ecfca2913c.zip cpython-bb40dc48928269d3f60e60e0642b56ecfca2913c.tar.gz cpython-bb40dc48928269d3f60e60e0642b56ecfca2913c.tar.bz2 |
remove commented-out vestiges of access statement
-rw-r--r-- | Grammar/Grammar | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar index 4df0623..fe3ece9 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -36,7 +36,6 @@ fplist: fpdef (',' fpdef)* [','] stmt: simple_stmt | compound_stmt simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE -#small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | access_stmt | exec_stmt small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | exec_stmt | assert_stmt expr_stmt: testlist (augassign testlist | ('=' testlist)*) augassign: '+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^=' | '<<=' | '>>=' | '**=' @@ -54,10 +53,6 @@ import_as_name: NAME [NAME NAME] dotted_as_name: dotted_name [NAME NAME] dotted_name: NAME ('.' NAME)* global_stmt: 'global' NAME (',' NAME)* -#access_stmt: 'access' ('*' | NAME (',' NAME)*) ':' accesstype (',' accesstype)* -#accesstype: NAME+ -## accesstype should be ('public' | 'protected' | 'private') ['read'] ['write'] -## but can't be because that would create undesirable reserved words! exec_stmt: 'exec' expr ['in' test [',' test]] assert_stmt: 'assert' test [',' test] |