Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
library
difflib.rst
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
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
Commits on Apr 24, 2008
remove some old versionchanged and versionadded directives
benjaminp
committed
35e8c46
View commit details
Copy full SHA for 35e8c46
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.