diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-02-10 08:00:53 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-02-10 08:00:53 (GMT) |
commit | 9ae2148adaa6320e6e1017d9786522f2b57e10f0 (patch) | |
tree | 0ea5ae804e3adbd3136166c0e8740c9c30c59936 /Lib/test/test_difflib.py | |
parent | 6db54c69a40a0358efc237292ee55a2de5122cd4 (diff) | |
download | cpython-9ae2148adaa6320e6e1017d9786522f2b57e10f0.zip cpython-9ae2148adaa6320e6e1017d9786522f2b57e10f0.tar.gz cpython-9ae2148adaa6320e6e1017d9786522f2b57e10f0.tar.bz2 |
Moved SequenceMatcher from ndiff into new std library module difflib.py.
Guido told me to do this <wink>.
Greatly expanded docstrings, and fleshed out with examples.
New std test.
Added new get_close_matches() function for ESR.
Needs docs, but LaTeXification of the module docstring is all it needs.
\CVS: ----------------------------------------------------------------------
Diffstat (limited to 'Lib/test/test_difflib.py')
-rw-r--r-- | Lib/test/test_difflib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_difflib.py b/Lib/test/test_difflib.py new file mode 100644 index 0000000..b1bcbd8 --- /dev/null +++ b/Lib/test/test_difflib.py @@ -0,0 +1,2 @@ +import doctest, difflib +doctest.testmod(difflib, verbose=1) |