diff markup/path.py @ 37:224b0b41d1da

Moved some of the tests for the strip directive to a new unittest test case to not clutter up the documentation.
author cmlenz
date Sun, 02 Jul 2006 23:10:27 +0000
parents 0e1fc0211416
children fec9f4897415
line wrap: on
line diff
--- a/markup/path.py
+++ b/markup/path.py
@@ -99,10 +99,10 @@
         
         >>> from markup.input import XML
         >>> xml = XML('<root><elem><child>Text</child></elem></root>')
+
         >>> print Path('child').select(xml)
         <child>Text</child>
         
-        >>> xpath = Path('child')
         >>> print Path('child/text()').select(xml)
         Text
         
Copyright (C) 2012-2017 Edgewall Software