From: Raymond Hettinger Date: Fri, 5 Nov 2004 16:38:08 +0000 (+0000) Subject: SF bug #1060825: Error in difflib docs X-Git-Tag: v2.4c1~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb4e859ecfd8d8122c879435f7836377293b7e50;p=thirdparty%2FPython%2Fcpython.git SF bug #1060825: Error in difflib docs --- diff --git a/Doc/lib/libdifflib.tex b/Doc/lib/libdifflib.tex index 4283aba1d973..666a9e3bb4ab 100644 --- a/Doc/lib/libdifflib.tex +++ b/Doc/lib/libdifflib.tex @@ -320,7 +320,7 @@ The \class{SequenceMatcher} class has this constructor: Optional argument \var{isjunk} must be \code{None} (the default) or a one-argument function that takes a sequence element and returns true if and only if the element is ``junk'' and should be ignored. - Passing \code{None} for \var{b} is equivalent to passing + Passing \code{None} for \var{isjunk} is equivalent to passing \code{lambda x: 0}; in other words, no elements are ignored. For example, pass: