diff doc/xpath.txt @ 853:4376010bb97e

Convert a bunch of print statements to py3k compatible syntax.
author cmlenz
date Tue, 10 Nov 2009 21:22:51 +0000
parents 0e5a25f1b83d
children
line wrap: on
line diff
--- a/doc/xpath.txt
+++ b/doc/xpath.txt
@@ -86,8 +86,8 @@
   ...   </items>
   ... </doc>''')
 
-  >>> print doc.select('items/item[@status="closed" and '
-  ...     '(@resolution="invalid" or not(@resolution))]/summary/text()')
+  >>> print(doc.select('items/item[@status="closed" and '
+  ...     '(@resolution="invalid" or not(@resolution))]/summary/text()'))
   BarBaz
 
 
Copyright (C) 2012-2017 Edgewall Software