summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-16 13:53:23 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-16 13:53:23 (GMT)
commit1ed6918c1ce48374475e9bd69e1caeb98bd15c64 (patch)
tree8c7cec97784f6711e45a939007d213444cb3dcbf
parent36e2586f72c9f0db6eb3880812e0c1fd44d9707f (diff)
downloadcpython-1ed6918c1ce48374475e9bd69e1caeb98bd15c64.zip
cpython-1ed6918c1ce48374475e9bd69e1caeb98bd15c64.tar.gz
cpython-1ed6918c1ce48374475e9bd69e1caeb98bd15c64.tar.bz2
Fix stupid typo in example.
-rw-r--r--Doc/lib/libre.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index 6df682c..99f7b3a 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -285,7 +285,7 @@ likely want to use the \function{search()} function rather than the
\begin{verbatim}
>>> import re
->>> m = re.search('(?<=abc)def', 'abdef')
+>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'
\end{verbatim}