[Python-checkins] python/dist/src/Doc/ref ref7.tex,1.43,1.44

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Sat Apr 9 05:03:02 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27923/Doc/ref

Modified Files:
	ref7.tex 
Log Message:
Add grammar change for allowing ``class B(): pass`` syntax.


Index: ref7.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref7.tex,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- ref7.tex	4 Mar 2005 14:33:32 -0000	1.43
+++ ref7.tex	9 Apr 2005 03:03:00 -0000	1.44
@@ -439,7 +439,7 @@
              {"class" \token{classname} [\token{inheritance}] ":"
               \token{suite}}
   \production{inheritance}
-             {"(" \token{expression_list} ")"}
+             {"(" [\token{expression_list}] ")"}
   \production{classname}
              {\token{identifier}}
 \end{productionlist}



More information about the Python-checkins mailing list