summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEdward Loper <edloper@gradient.cis.upenn.edu>2004-09-28 03:12:01 (GMT)
committerEdward Loper <edloper@gradient.cis.upenn.edu>2004-09-28 03:12:01 (GMT)
commit1793dd31dea990930dd75154050124b563b58e7a (patch)
tree1b0edbdeb6e9789fbd52158aadf06da3cf0a2f07 /Doc
parentdcdb4b4d78fec78ad713ebb403f6f04b3c50eb2a (diff)
downloadcpython-1793dd31dea990930dd75154050124b563b58e7a.zip
cpython-1793dd31dea990930dd75154050124b563b58e7a.tar.gz
cpython-1793dd31dea990930dd75154050124b563b58e7a.tar.bz2
Fixed minor typo in interactive example (extra '.'s in '...' prompts)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libre.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index 0d9b702..e6cbc55 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}