Changeset 391 for python/trunk/Lib/xml/sax/xmlreader.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/xml/sax/xmlreader.py
r2 r391 69 69 SAX parsers are not required to provide localization for errors 70 70 and warnings; if they cannot support the requested locale, 71 however, they must throwa SAX exception. Applications may71 however, they must raise a SAX exception. Applications may 72 72 request a locale change in the middle of a parse.""" 73 73 raise SAXNotSupportedException("Locale support not implemented") … … 323 323 324 324 def __contains__(self, name): 325 return self._attrs.has_key(name)325 return name in self._attrs 326 326 327 327 def get(self, name, alternative=None):
Note:
See TracChangeset
for help on using the changeset viewer.