]> granicus.if.org Git - python/commitdiff
Fixed minor typo in interactive example (extra '.'s in '...' prompts)
authorEdward Loper <edloper@gradient.cis.upenn.edu>
Tue, 28 Sep 2004 03:12:01 +0000 (03:12 +0000)
committerEdward Loper <edloper@gradient.cis.upenn.edu>
Tue, 28 Sep 2004 03:12:01 +0000 (03:12 +0000)
Doc/lib/libre.tex

index 0d9b7022d875d910c333672ef0193b2440b7a9c3..e6cbc5584712c971d66f3f30bd907fdfa91ffdc5 100644 (file)
@@ -598,8 +598,8 @@ ignored.
 
 \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}