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
61bdd39b
Commit
61bdd39b
authored
Jun 14, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repaired typo in new comment.
parent
43898b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/difflib.py
Lib/difflib.py
+1
-1
No files found.
Lib/difflib.py
View file @
61bdd39b
...
...
@@ -509,7 +509,7 @@ class SequenceMatcher:
if
i1
+
k1
==
i2
and
j1
+
k1
==
j2
:
# Yes, so collapse them -- this just increases the length of
# the first block by the length of the second, and the first
# block so lengthe
b
d remains the block to compare against.
# block so lengthe
ne
d remains the block to compare against.
k1
+=
k2
else
:
# Not adjacent. Remember the first block (k1==0 means it's
...
...
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