Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb40dc4

Browse files
committed
remove commented-out vestiges of access statement
1 parent 8216c18 commit bb40dc4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Grammar/Grammar

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ fplist: fpdef (',' fpdef)* [',']
3636

3737
stmt: simple_stmt | compound_stmt
3838
simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE
39-
#small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | access_stmt | exec_stmt
4039
small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | exec_stmt | assert_stmt
4140
expr_stmt: testlist (augassign testlist | ('=' testlist)*)
4241
augassign: '+=' | '-=' | '*=' | '/=' | '%=' | '&=' | '|=' | '^=' | '<<=' | '>>=' | '**='
@@ -54,10 +53,6 @@ import_as_name: NAME [NAME NAME]
5453
dotted_as_name: dotted_name [NAME NAME]
5554
dotted_name: NAME ('.' NAME)*
5655
global_stmt: 'global' NAME (',' NAME)*
57-
#access_stmt: 'access' ('*' | NAME (',' NAME)*) ':' accesstype (',' accesstype)*
58-
#accesstype: NAME+
59-
## accesstype should be ('public' | 'protected' | 'private') ['read'] ['write']
60-
## but can't be because that would create undesirable reserved words!
6156
exec_stmt: 'exec' expr ['in' test [',' test]]
6257
assert_stmt: 'assert' test [',' test]
6358

0 commit comments

Comments
 (0)