[Patches] [ python-Patches-445412 ] extract ndiff functionality to difflib

noreply@sourceforge.net noreply@sourceforge.net
Wed, 01 Aug 2001 15:22:26 -0700


Patches item #445412, was opened at 2001-07-27 21:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=445412&group_id=5470

Category: library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Goodger (goodger)
>Assigned to: Tim Peters (tim_one)
Summary: extract ndiff functionality to difflib

Initial Comment:
This is a followup to patch 438331, "make ndiff.py 
into a library module" (http://sourceforge.net/
tracker/?func=detail&atid=305470&aid=438331&
group_id=5470).

Tools/scripts/ndiff.py:
- Extracted useful functionality to Lib/difflib.py.
- Moved most explanatory comments to difflib.py, 
some as docstrings, some as comments.

Lib/difflib.py:
- Functionality from ndiff.py now accessible from 
class Differ, and convenience functions ndiff() and 
restore(). Fully docstringed and doctested.
- Rearranged SequenceMatcher docstrings: 
removed duplicates (class docs were in class 
AND module docstrings).
- Bumped version up to 1.7.0 (if it matters).

TeX documentation patch posted separately.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=445412&group_id=5470