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/xml.sax.reader.rst

    r2 r391  
    110110.. method:: XMLReader.getContentHandler()
    111111
    112    Return the current :class:`ContentHandler`.
     112   Return the current :class:`~xml.sax.handler.ContentHandler`.
    113113
    114114
    115115.. method:: XMLReader.setContentHandler(handler)
    116116
    117    Set the current :class:`ContentHandler`.  If no :class:`ContentHandler` is set,
    118    content events will be discarded.
     117   Set the current :class:`~xml.sax.handler.ContentHandler`.  If no
     118   :class:`~xml.sax.handler.ContentHandler` is set, content events will be
     119   discarded.
    119120
    120121
    121122.. method:: XMLReader.getDTDHandler()
    122123
    123    Return the current :class:`DTDHandler`.
     124   Return the current :class:`~xml.sax.handler.DTDHandler`.
    124125
    125126
    126127.. method:: XMLReader.setDTDHandler(handler)
    127128
    128    Set the current :class:`DTDHandler`.  If no :class:`DTDHandler` is set, DTD
     129   Set the current :class:`~xml.sax.handler.DTDHandler`.  If no
     130   :class:`~xml.sax.handler.DTDHandler` is set, DTD
    129131   events will be discarded.
    130132
     
    132134.. method:: XMLReader.getEntityResolver()
    133135
    134    Return the current :class:`EntityResolver`.
     136   Return the current :class:`~xml.sax.handler.EntityResolver`.
    135137
    136138
    137139.. method:: XMLReader.setEntityResolver(handler)
    138140
    139    Set the current :class:`EntityResolver`.  If no :class:`EntityResolver` is set,
     141   Set the current :class:`~xml.sax.handler.EntityResolver`.  If no
     142   :class:`~xml.sax.handler.EntityResolver` is set,
    140143   attempts to resolve an external entity will result in opening the system
    141144   identifier for the entity, and fail if it is not available.
     
    144147.. method:: XMLReader.getErrorHandler()
    145148
    146    Return the current :class:`ErrorHandler`.
     149   Return the current :class:`~xml.sax.handler.ErrorHandler`.
    147150
    148151
    149152.. method:: XMLReader.setErrorHandler(handler)
    150153
    151    Set the current error handler.  If no :class:`ErrorHandler` is set, errors will
    152    be raised as exceptions, and warnings will be printed.
     154   Set the current error handler.  If no :class:`~xml.sax.handler.ErrorHandler`
     155   is set, errors will be raised as exceptions, and warnings will be printed.
    153156
    154157
     
    158161
    159162   SAX parsers are not required to provide localization for errors and warnings; if
    160    they cannot support the requested locale, however, they must throw a SAX
     163   they cannot support the requested locale, however, they must raise a SAX
    161164   exception.  Applications may request a locale change in the middle of a parse.
    162165
     
    327330
    328331:class:`Attributes` objects implement a portion of the mapping protocol,
    329 including the methods :meth:`copy`, :meth:`get`, :meth:`has_key`, :meth:`items`,
    330 :meth:`keys`, and :meth:`values`.  The following methods are also provided:
     332including the methods :meth:`~collections.Mapping.copy`,
     333:meth:`~collections.Mapping.get`,
     334:meth:`~collections.Mapping.has_key`,
     335:meth:`~collections.Mapping.items`,
     336:meth:`~collections.Mapping.keys`,
     337and :meth:`~collections.Mapping.values`.  The following methods
     338are also provided:
    331339
    332340
Note: See TracChangeset for help on using the changeset viewer.