Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/test/test_difflib.py

3 lines
60 B
Python
Raw Normal View History

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: ----------------------------------------------------------------------
2001-02-10 08:00:53 +00:00
import doctest, difflib
Remove test_difflib's output file and change test_difflib to stop generating it. Since this is purely a doctest, the output file never served a good purpose.
2001-05-23 01:45:19 +00:00
doctest.testmod(difflib, verbose=0)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 148ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API