summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}