[Python-checkins] python/dist/src/Doc/lib libre.tex,1.110,1.111
edloper at users.sourceforge.net
edloper at users.sourceforge.net
Tue Sep 28 05:12:19 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18657/dist/src/Doc/lib
Modified Files:
libre.tex
Log Message:
Fixed minor typo in interactive example (extra '.'s in '...' prompts)
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- libre.tex 24 Sep 2004 03:41:05 -0000 1.110
+++ libre.tex 28 Sep 2004 03:12:01 -0000 1.111
@@ -598,8 +598,8 @@
\begin{verbatim}
>>> def dashrepl(matchobj):
-.... if matchobj.group(0) == '-': return ' '
-.... else: return '-'
+... if matchobj.group(0) == '-': return ' '
+... else: return '-'
>>> re.sub('-{1,2}', dashrepl, 'pro----gram-files')
'pro--gram files'
\end{verbatim}
More information about the Python-checkins
mailing list