# HG changeset patch # User cmlenz # Date 1215526029 0 # Node ID f459f22f7ad23daf99c34da7bd18c12c2dad0386 # Parent e01c9ad52f09ceb145d6dfd80a893d333acf7df6 Fix example for `START` event in the streams documentation to explicitly wrap attribute name in a `QName` object. diff --git a/doc/streams.txt b/doc/streams.txt --- a/doc/streams.txt +++ b/doc/streams.txt @@ -379,7 +379,7 @@ .. code-block:: python - START, (QName(u'p'), Attrs([(u'class', u'intro')])), pos + START, (QName(u'p'), Attrs([(QName(u'class'), u'intro')])), pos END ---