Mercurial > genshi > mirror
diff genshi/core.py @ 427:55c574767df2 trunk
More API documentation.
author | cmlenz |
---|---|
date | Thu, 22 Mar 2007 15:05:29 +0000 |
parents | 073640758a42 |
children | 5692bc32ba5f |
line wrap: on
line diff
--- a/genshi/core.py +++ b/genshi/core.py @@ -53,16 +53,16 @@ """ __slots__ = ['events'] - START = StreamEventKind('START') # a start tag - END = StreamEventKind('END') # an end tag - TEXT = StreamEventKind('TEXT') # literal text - DOCTYPE = StreamEventKind('DOCTYPE') # doctype declaration - START_NS = StreamEventKind('START_NS') # start namespace mapping - END_NS = StreamEventKind('END_NS') # end namespace mapping - START_CDATA = StreamEventKind('START_CDATA') # start CDATA section - END_CDATA = StreamEventKind('END_CDATA') # end CDATA section - PI = StreamEventKind('PI') # processing instruction - COMMENT = StreamEventKind('COMMENT') # comment + START = StreamEventKind('START') #: a start tag + END = StreamEventKind('END') #: an end tag + TEXT = StreamEventKind('TEXT') #: literal text + DOCTYPE = StreamEventKind('DOCTYPE') #: doctype declaration + START_NS = StreamEventKind('START_NS') #: start namespace mapping + END_NS = StreamEventKind('END_NS') #: end namespace mapping + START_CDATA = StreamEventKind('START_CDATA') #: start CDATA section + END_CDATA = StreamEventKind('END_CDATA') #: end CDATA section + PI = StreamEventKind('PI') #: processing instruction + COMMENT = StreamEventKind('COMMENT') #: comment def __init__(self, events): """Initialize the stream with a sequence of markup events.