# HG changeset patch # User cmlenz # Date 1215526029 0 # Node ID f6cf013226044e6499f4c9edb8c9dca77c8e31d2 # Parent b555a6769c5b7aeddb844ca905c3206f800ef0e4 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 ---