Mercurial > genshi > genshi-test
comparison markup/input.py @ 145:56d534eb53f9
* Fix error in expression evaluation when the expression evaluates to an iterable that does not produce event tuples.
* The first location step in path expressions longer assumes the `descendant::` axis, but rather the `child::` axis.
* Import cleanups.
author | cmlenz |
---|---|
date | Tue, 15 Aug 2006 09:52:47 +0000 |
parents | 28b56f09a7e1 |
children | db0dacc1239a |
comparison
equal
deleted
inserted
replaced
144:28b56f09a7e1 | 145:56d534eb53f9 |
---|---|
19 from sets import ImmutableSet as frozenset | 19 from sets import ImmutableSet as frozenset |
20 import HTMLParser as html | 20 import HTMLParser as html |
21 import htmlentitydefs | 21 import htmlentitydefs |
22 from StringIO import StringIO | 22 from StringIO import StringIO |
23 | 23 |
24 from markup.core import Attributes, Markup, QName, Stream | 24 from markup.core import Attributes, QName, Stream |
25 from markup.core import DOCTYPE, START, END, START_NS, END_NS, TEXT, \ | 25 from markup.core import DOCTYPE, START, END, START_NS, END_NS, TEXT, \ |
26 START_CDATA, END_CDATA, PI, COMMENT | 26 START_CDATA, END_CDATA, PI, COMMENT |
27 | 27 |
28 __all__ = ['ParseError', 'XMLParser', 'XML', 'HTMLParser', 'HTML'] | 28 __all__ = ['ParseError', 'XMLParser', 'XML', 'HTMLParser', 'HTML'] |
29 | 29 |