changeset 774:f459f22f7ad2 trunk

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 e01c9ad52f09
children 886934df7fea
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