diff options
author | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-09-28 03:12:01 (GMT) |
---|---|---|
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-09-28 03:12:01 (GMT) |
commit | 1793dd31dea990930dd75154050124b563b58e7a (patch) | |
tree | 1b0edbdeb6e9789fbd52158aadf06da3cf0a2f07 /Doc | |
parent | dcdb4b4d78fec78ad713ebb403f6f04b3c50eb2a (diff) | |
download | cpython-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.tex | 4 |
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} |