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.
\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}
......
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