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/Lib/xml/sax/xmlreader.py

    r2 r391  
    6969        SAX parsers are not required to provide localization for errors
    7070        and warnings; if they cannot support the requested locale,
    71         however, they must throw a SAX exception. Applications may
     71        however, they must raise a SAX exception. Applications may
    7272        request a locale change in the middle of a parse."""
    7373        raise SAXNotSupportedException("Locale support not implemented")
     
    323323
    324324    def __contains__(self, name):
    325         return self._attrs.has_key(name)
     325        return name in self._attrs
    326326
    327327    def get(self, name, alternative=None):
Note: See TracChangeset for help on using the changeset viewer.