Edgewall Software

Changeset 227 for trunk/markup/input.py


Ignore:
Timestamp:
Aug 21, 2006, 10:03:13 PM (17 years ago)
Author:
cmlenz
Message:

Renamed Attributes to Attrs to reduce the verbosity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/markup/input.py

    r202 r227  
    2222from StringIO import StringIO
    2323
    24 from markup.core import Attributes, QName, Stream
     24from markup.core import Attrs, QName, Stream
    2525from markup.core import DOCTYPE, START, END, START_NS, END_NS, TEXT, \
    2626                        START_CDATA, END_CDATA, PI, COMMENT
     
    147147
    148148    def _handle_start(self, tag, attrib):
    149         self._enqueue(START, (QName(tag), Attributes(zip(*[iter(attrib)] * 2))))
     149        self._enqueue(START, (QName(tag), Attrs(zip(*[iter(attrib)] * 2))))
    150150
    151151    def _handle_end(self, tag):
     
    269269            fixed_attrib.append((name, unicode(value)))
    270270
    271         self._enqueue(START, (QName(tag), Attributes(fixed_attrib)))
     271        self._enqueue(START, (QName(tag), Attrs(fixed_attrib)))
    272272        if tag in self._EMPTY_ELEMS:
    273273            self._enqueue(END, QName(tag))
Note: See TracChangeset for help on using the changeset viewer.