changeset 33612:4ee48e2efb68 legacy-trunk

Fixed minor typo in interactive example (extra '.'s in '...' prompts)
author Edward Loper <edloper@gradient.cis.upenn.edu>
date Tue, 28 Sep 2004 03:12:01 +0000
parents c7c39b79e5b7
children 7664e8bae19e
files Doc/lib/libre.tex
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/lib/libre.tex	Tue Sep 28 03:08:57 2004 +0000
+++ b/Doc/lib/libre.tex	Tue Sep 28 03:12:01 2004 +0000
@@ -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}