Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bb4e859e
Commit
bb4e859e
authored
Nov 05, 2004
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF bug #1060825: Error in difflib docs
parent
ec6eb369
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/lib/libdifflib.tex
Doc/lib/libdifflib.tex
+1
-1
No files found.
Doc/lib/libdifflib.tex
View file @
bb4e859e
...
@@ -320,7 +320,7 @@ The \class{SequenceMatcher} class has this constructor:
...
@@ -320,7 +320,7 @@ The \class{SequenceMatcher} class has this constructor:
Optional argument
\var
{
isjunk
}
must be
\code
{
None
}
(the default) or
Optional argument
\var
{
isjunk
}
must be
\code
{
None
}
(the default) or
a one-argument function that takes a sequence element and returns
a one-argument function that takes a sequence element and returns
true if and only if the element is ``junk'' and should be ignored.
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
\code
{
lambda x: 0
}
; in other words, no elements are ignored. For
example, pass:
example, pass:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment