]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix stupid typo in example.
authorFred Drake <fdrake@acm.org>
Sat, 16 Mar 2002 13:53:23 +0000 (13:53 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 16 Mar 2002 13:53:23 +0000 (13:53 +0000)
Doc/lib/libre.tex

index 6df682c24da0bdbf0e34dcedb7a35cfbf0c21b81..99f7b3acd44aa08dc3ce26aa57892d2767c7d5c7 100644 (file)
@@ -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}