[Python-checkins] python/nondist/peps pep-0341.txt,1.1,1.2

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Wed May 11 23:29:19 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3539

Modified Files:
	pep-0341.txt 
Log Message:
Fix the grammar, with Reinhold's approval.


Index: pep-0341.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0341.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pep-0341.txt	7 May 2005 12:13:49 -0000	1.1
+++ pep-0341.txt	11 May 2005 21:29:16 -0000	1.2
@@ -81,11 +81,14 @@
 
     would have to become
 
-        try_stmt: ('try' ':' suite (except_clause ':' suite)+
-                   ['else' ':' suite] ['finally' ':' suite] |
-                   'try' ':' suite (except_clause ':' suite)*
-                   ['else' ':' suite] 'finally' ':' suite)
-
+        try_stmt: 'try' ':' suite
+                  (
+                    (except_clause ':' suite)+
+                    ['else' ':' suite]
+                    ['finally' ':' suite]
+                  |
+                    'finally' ':' suite
+                  )
 
 Implementation
 



More information about the Python-checkins mailing list