summaryrefslogtreecommitdiffstats
path: root/Doc/library/sgmllib.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/sgmllib.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/sgmllib.rst')
-rw-r--r--Doc/library/sgmllib.rst17
1 files changed, 0 insertions, 17 deletions
diff --git a/Doc/library/sgmllib.rst b/Doc/library/sgmllib.rst
index c0ef1a2..637aa91 100644
--- a/Doc/library/sgmllib.rst
+++ b/Doc/library/sgmllib.rst
@@ -40,8 +40,6 @@ A single exception is defined as well:
Exception raised by the :class:`SGMLParser` class when it encounters an error
while parsing.
- .. versionadded:: 2.1
-
:class:`SGMLParser` instances have the following methods:
@@ -106,9 +104,6 @@ A single exception is defined as well:
base implementation simply calls *method* with *attributes* as the only
argument.
- .. versionadded:: 2.5
- Handling of entity and character references within attribute values.
-
.. method:: SGMLParser.handle_endtag(tag, method)
@@ -133,9 +128,6 @@ A single exception is defined as well:
a string. If that method returns a string, it is passed to :meth:`handle_data`,
otherwise ``unknown_charref(ref)`` is called to handle the error.
- .. versionchanged:: 2.5
- Use :meth:`convert_charref` instead of hard-coding the conversion.
-
.. method:: SGMLParser.convert_charref(ref)
@@ -146,16 +138,12 @@ A single exception is defined as well:
method returns ``None``. This method is called by the default
:meth:`handle_charref` implementation and by the attribute value parser.
- .. versionadded:: 2.5
-
.. method:: SGMLParser.convert_codepoint(codepoint)
Convert a codepoint to a :class:`str` value. Encodings can be handled here if
appropriate, though the rest of :mod:`sgmllib` is oblivious on this matter.
- .. versionadded:: 2.5
-
.. method:: SGMLParser.handle_entityref(ref)
@@ -166,9 +154,6 @@ A single exception is defined as well:
method ``unknown_entityref(ref)``. The default :attr:`entitydefs` defines
translations for ``&amp;``, ``&apos``, ``&gt;``, ``&lt;``, and ``&quot;``.
- .. versionchanged:: 2.5
- Use :meth:`convert_entityref` instead of hard-coding the conversion.
-
.. method:: SGMLParser.convert_entityref(ref)
@@ -180,8 +165,6 @@ A single exception is defined as well:
``None``. This method is called by the default :meth:`handle_entityref`
implementation and by the attribute value parser.
- .. versionadded:: 2.5
-
.. method:: SGMLParser.handle_comment(comment)