[Python-checkins] CVS: python/dist/src/Grammar Grammar,1.41,1.42

Jeremy Hylton jhylton@users.sourceforge.net
Tue, 27 Feb 2001 10:36:17 -0800


Update of /cvsroot/python/python/dist/src/Grammar
In directory usw-pr-cvs1:/tmp/cvs-serv22845

Modified Files:
	Grammar 
Log Message:
remove commented-out vestiges of access statement


Index: Grammar
===================================================================
RCS file: /cvsroot/python/python/dist/src/Grammar/Grammar,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** Grammar	2000/08/24 20:11:30	1.41
--- Grammar	2001/02/27 18:36:14	1.42
***************
*** 37,41 ****
  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)*)
--- 37,40 ----
***************
*** 55,62 ****
  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]
--- 54,57 ----