changeset 774:f6cf01322604

Fix example for `START` event in the streams documentation to explicitly wrap attribute name in a `QName` object.
author cmlenz
date Tue, 08 Jul 2008 14:07:09 +0000
parents b555a6769c5b
children f0f1416a814f
files doc/streams.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 ---
Copyright (C) 2012-2017 Edgewall Software