summaryrefslogtreecommitdiffstats
path: root/Doc/library/difflib.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
commit55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch)
treea0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/difflib.rst
parent1617457cff847fed9fadb01f1acf6ba8bb621726 (diff)
downloadcpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/difflib.rst')
-rw-r--r--Doc/library/difflib.rst17
1 files changed, 0 insertions, 17 deletions
diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst
index 95b83e6..8d130a1 100644
--- a/Doc/library/difflib.rst
+++ b/Doc/library/difflib.rst
@@ -10,9 +10,6 @@
.. % LaTeXification by Fred L. Drake, Jr. <fdrake@acm.org>.
-.. versionadded:: 2.1
-
-
.. class:: SequenceMatcher
This is a flexible class for comparing pairs of sequences of any type, so long
@@ -117,8 +114,6 @@
:file:`Tools/scripts/diff.py` is a command-line front-end to this class and
contains a good example of its use.
- .. versionadded:: 2.4
-
.. function:: context_diff(a, b[, fromfile][, tofile][, fromfiledate][, tofiledate][, n][, lineterm])
@@ -146,8 +141,6 @@
:file:`Tools/scripts/diff.py` is a command-line front-end for this function.
- .. versionadded:: 2.3
-
.. function:: get_close_matches(word, possibilities[, n][, cutoff])
@@ -263,8 +256,6 @@
:file:`Tools/scripts/diff.py` is a command-line front-end for this function.
- .. versionadded:: 2.3
-
.. function:: IS_LINE_JUNK(line)
@@ -382,12 +373,6 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
then ``i+n != i'`` or ``j+n != j'``; in other words, adjacent triples always
describe non-adjacent equal blocks.
- .. % Explain why a dummy is used!
-
- .. versionchanged:: 2.5
- The guarantee that adjacent triples always describe non-adjacent blocks was
- implemented.
-
::
>>> s = SequenceMatcher(None, "abxcd", "abcd")
@@ -445,8 +430,6 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
The groups are returned in the same format as :meth:`get_opcodes`.
- .. versionadded:: 2.3
-
.. method:: SequenceMatcher.ratio()