Commit 1f224f58 authored by Edward Loper's avatar Edward Loper

Fixed minor typo in interactive example (extra '.'s in '...' prompts)

parent 6796d106
...@@ -598,8 +598,8 @@ ignored. ...@@ -598,8 +598,8 @@ ignored.
\begin{verbatim} \begin{verbatim}
>>> def dashrepl(matchobj): >>> def dashrepl(matchobj):
.... if matchobj.group(0) == '-': return ' ' ... if matchobj.group(0) == '-': return ' '
.... else: return '-' ... else: return '-'
>>> re.sub('-{1,2}', dashrepl, 'pro----gram-files') >>> re.sub('-{1,2}', dashrepl, 'pro----gram-files')
'pro--gram files' 'pro--gram files'
\end{verbatim} \end{verbatim}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment