[Python-checkins] python/dist/src/Doc/ref ref5.tex, 1.85, 1.86 ref6.tex, 1.72, 1.73

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Thu Nov 11 07:14:07 CET 2004


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

Modified Files:
	ref5.tex ref6.tex 
Log Message:
Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet

Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- ref5.tex	2 Nov 2004 18:57:33 -0000	1.85
+++ ref5.tex	11 Nov 2004 06:14:05 -0000	1.86
@@ -802,9 +802,10 @@
 operations:
 
 \begin{productionlist}
+  % The empty groups below prevent conversion to guillemets.
   \production{shift_expr}
              {\token{a_expr}
-              | \token{shift_expr} ( "<<" | ">>" ) \token{a_expr}}
+              | \token{shift_expr} ( "<{}<" | ">{}>" ) \token{a_expr}}
 \end{productionlist}
 
 These operators accept plain or long integers as arguments.  The

Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- ref6.tex	31 Aug 2004 10:06:59 -0000	1.72
+++ ref6.tex	11 Nov 2004 06:14:05 -0000	1.73
@@ -275,7 +275,8 @@
              {\token{target} \token{augop} \token{expression_list}}
   \production{augop}
              {"+=" | "-=" | "*=" | "/=" | "\%=" | "**="}
-  \productioncont{| ">>=" | "<<=" | "\&=" | "\textasciicircum=" | "|="}
+  % The empty groups below prevent conversion to guillemets.
+  \productioncont{| ">{}>=" | "<{}<=" | "\&=" | "\textasciicircum=" | "|="}
 \end{productionlist}
 
 (See section~\ref{primaries} for the syntax definitions for the last



More information about the Python-checkins mailing list