[Python-checkins] python/dist/src/Doc/ref ref5.tex, 1.76.10.4, 1.76.10.5 ref6.tex, 1.68.8.2, 1.68.8.3

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


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

Modified Files:
      Tag: release23-maint
	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.76.10.4
retrieving revision 1.76.10.5
diff -u -d -r1.76.10.4 -r1.76.10.5
--- ref5.tex	2 Nov 2004 18:59:18 -0000	1.76.10.4
+++ ref5.tex	11 Nov 2004 06:16:42 -0000	1.76.10.5
@@ -753,9 +753,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.68.8.2
retrieving revision 1.68.8.3
diff -u -d -r1.68.8.2 -r1.68.8.3
--- ref6.tex	1 Jan 2004 05:46:30 -0000	1.68.8.2
+++ ref6.tex	11 Nov 2004 06:16:42 -0000	1.68.8.3
@@ -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