Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.6k
(2.6k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
library
difflib.rst
on
3.6
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 27, 2018
bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144)
Show description for 5282125
miss-islington
and
terryjreedy
authored
5282125
View commit details
Copy full SHA for 5282125
View code at this point
Browse repository at this point
Commits on Aug 10, 2016
Issue #27210: Fix doctests for a few modules.
Show description for 9f8b3a0
zware
committed
9f8b3a0
View commit details
Copy full SHA for 9f8b3a0
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on May 7, 2016
Issue #26736: Used HTTPS for external links in the documentation if possible.
serhiy-storchaka
committed
6dff020
View commit details
Copy full SHA for 6dff020
View code at this point
Browse repository at this point
Commits on Mar 11, 2016
Issue #26542: Fix markup of code example in difflib documentation
Show description for eb2e02b
berkerpeksag
committed
eb2e02b
View commit details
Copy full SHA for eb2e02b
View code at this point
Browse repository at this point
Commits on Nov 2, 2015
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
vadmium
committed
2eb819f
View commit details
Copy full SHA for 2eb819f
View code at this point
Browse repository at this point
Issue #25523: Correct "a" article to "an" article
Show description for 7462b64
vadmium
committed
7462b64
View commit details
Copy full SHA for 7462b64
View code at this point
Browse repository at this point
Commits on Oct 30, 2015
Merge with 3.4
terryjreedy
committed
c029481
View commit details
Copy full SHA for c029481
View code at this point
Browse repository at this point
Issue #25519: Mark difflib.ndiff as a functions where not already.
terryjreedy
committed
3e8a7ad
View commit details
Copy full SHA for 3e8a7ad
View code at this point
Browse repository at this point
Commits on Jul 29, 2015
Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation.
Show description for 707deb9
berkerpeksag
committed
707deb9
View commit details
Copy full SHA for 707deb9
View code at this point
Browse repository at this point
Commits on Apr 21, 2015
#17445: difflib: add diff_bytes(), to compare bytes rather than str
Show description for 4d9d256
gward
committed
4d9d256
View commit details
Copy full SHA for 4d9d256
View code at this point
Browse repository at this point
Commits on Mar 14, 2015
Issue #2052: Add charset parameter to HtmlDiff.make_file().
berkerpeksag
committed
102029d
View commit details
Copy full SHA for 102029d
View code at this point
Browse repository at this point
Commits on Oct 29, 2014
merge with 3.4
birkenfeld
committed
794e9bf
View commit details
Copy full SHA for 794e9bf
View code at this point
Browse repository at this point
Fixing broken links in doc, part 3: the rest
birkenfeld
committed
525d355
View commit details
Copy full SHA for 525d355
View code at this point
Browse repository at this point
Commits on Apr 18, 2014
Merge with 3.4. Closes #21232.
terryjreedy
committed
386b2b1
View commit details
Copy full SHA for 386b2b1
View code at this point
Browse repository at this point
Issue #21232: Replace .splitlines arg '1' with 'keepends=True'.
terryjreedy
committed
bddecc3
View commit details
Copy full SHA for bddecc3
View code at this point
Browse repository at this point
Commits on Mar 19, 2014
#14332: provide a better explanation of junk in difflib docs
Show description for c51da2b
akuchling
committed
c51da2b
View commit details
Copy full SHA for c51da2b
View code at this point
Browse repository at this point
#13437: link to the source code for a few more modules
akuchling
committed
2e3743c
View commit details
Copy full SHA for 2e3743c
View code at this point
Browse repository at this point
Commits on Nov 29, 2013
Issue #19795: Improved markup of True/False constants.
serhiy-storchaka
committed
fbc1c26
View commit details
Copy full SHA for fbc1c26
View code at this point
Browse repository at this point
Commits on Oct 13, 2013
Issue #18758: Fixed and improved cross-references.
serhiy-storchaka
committed
bfdcd43
View commit details
Copy full SHA for bfdcd43
View code at this point
Browse repository at this point
Commits on Jul 30, 2013
#18601: fix error made when difflib example was converted to use 'with'.
bitdancer
committed
96433f8
View commit details
Copy full SHA for 96433f8
View code at this point
Browse repository at this point
Commits on Apr 10, 2011
Beautify and modernize the SequenceMatcher example
rhettinger
committed
1929983
View commit details
Copy full SHA for 1929983
View code at this point
Browse repository at this point
Beautify and modernize the SequenceMatcher example
rhettinger
committed
dbb677a
View commit details
Copy full SHA for dbb677a
View code at this point
Browse repository at this point
Commits on Mar 11, 2011
Use with statement where it improves the documentation (closes #10461)
merwok
committed
a3dd56b
View commit details
Copy full SHA for a3dd56b
View code at this point
Browse repository at this point
Commits on Dec 15, 2010
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
terryjreedy
committed
17a5925
View commit details
Copy full SHA for 17a5925
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Fix indentation.
birkenfeld
committed
500be24
View commit details
Copy full SHA for 500be24
View code at this point
Browse repository at this point
terryjreedy
committed
74a7c67
View commit details
Copy full SHA for 74a7c67
View code at this point
Browse repository at this point
Commits on Nov 27, 2010
Add version-added note twice for new difflib SequenceMatcher autojunk parameter.
terryjreedy
committed
dc9b17d
View commit details
Copy full SHA for dc9b17d
View code at this point
Browse repository at this point
Commits on Nov 25, 2010
Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. Patch by Terry Reedy, Eli Bendersky, and Simon Cross
terryjreedy
committed
99f9637
View commit details
Copy full SHA for 99f9637
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
#8686: remove potentially confusing wording that does not add any value.
birkenfeld
committed
8e9eb95
View commit details
Copy full SHA for 8e9eb95
View code at this point
Browse repository at this point
Commits on Apr 12, 2010
Merged revisions 80004 via svnmerge from
Show description for b2416e5
bitdancer
committed
b2416e5
View commit details
Copy full SHA for b2416e5
View code at this point
Browse repository at this point
Commits on Apr 27, 2009
Add another example to the seealso section.
rhettinger
committed
58c8c26
View commit details
Copy full SHA for 58c8c26
View code at this point
Browse repository at this point
Commits on Apr 10, 2009
Update signature style for optional arguments, part 3.
birkenfeld
committed
c2a4f4f
View commit details
Copy full SHA for c2a4f4f
View code at this point
Browse repository at this point
Commits on May 12, 2008
Remove many "versionchanged" items that didn't use the official markup,
Show description for e6bcc91
birkenfeld
committed
e6bcc91
View commit details
Copy full SHA for e6bcc91
View code at this point
Browse repository at this point
Commits on Apr 25, 2008
Merged revisions 62490 via svnmerge from
Show description for e41251e
benjaminp
committed
e41251e
View commit details
Copy full SHA for e41251e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.