Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/htmllib.rst

    r2 r391  
    77
    88.. deprecated:: 2.6
    9     The :mod:`htmllib` module has been removed in Python 3.0.
     9    The :mod:`htmllib` module has been removed in Python 3.
    1010
    1111
     
    163163
    164164   The :mod:`htmlentitydefs` module has been renamed to :mod:`html.entities` in
    165    Python 3.0.  The :term:`2to3` tool will automatically adapt imports when
    166    converting your sources to 3.0.
     165   Python 3.  The :term:`2to3` tool will automatically adapt imports when
     166   converting your sources to Python 3.
    167167
     168**Source code:** :source:`Lib/htmlentitydefs.py`
     169
     170--------------
    168171
    169172This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
    170173and ``entitydefs``. ``entitydefs`` is used by the :mod:`htmllib` module to
    171 provide the :attr:`entitydefs` member of the :class:`HTMLParser` class.  The
     174provide the :attr:`entitydefs` attribute of the :class:`HTMLParser` class.  The
    172175definition provided here contains all the entities defined by XHTML 1.0  that
    173176can be handled using simple textual substitution in the Latin-1 character set
Note: See TracChangeset for help on using the changeset viewer.