From: Edward Loper Date: Tue, 28 Sep 2004 03:12:01 +0000 (+0000) Subject: Fixed minor typo in interactive example (extra '.'s in '...' prompts) X-Git-Tag: v2.4b1~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1793dd31dea990930dd75154050124b563b58e7a;p=python Fixed minor typo in interactive example (extra '.'s in '...' prompts) --- diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 0d9b7022d8..e6cbc55847 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -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}