[Lxml-checkins] r39308 - lxml/trunk/doc
scoder at codespeak.net
scoder at codespeak.net
Thu Feb 22 08:06:05 CET 2007
Author: scoder
Date: Thu Feb 22 08:06:04 2007
New Revision: 39308
Modified:
lxml/trunk/doc/objectify.txt
Log:
doc formatting
Modified: lxml/trunk/doc/objectify.txt
==============================================================================
--- lxml/trunk/doc/objectify.txt (original)
+++ lxml/trunk/doc/objectify.txt Thu Feb 22 08:06:04 2007
@@ -362,7 +362,7 @@
>>> print find(root).tag
{ns}b
-Apart from strings, ObjectPath also accepts lists of path segments:
+Apart from strings, ObjectPath also accepts lists of path segments::
>>> find = objectify.ObjectPath(['root', 'b', 'c'])
>>> print find(root).tag
@@ -423,7 +423,7 @@
>>> [ el.text for el in path.find(root) ]
['my value', 'my new value']
-As with attribute assignment, ``setattr()`` accepts lists:
+As with attribute assignment, ``setattr()`` accepts lists::
>>> path.setattr(root, ["v1", "v2", "v3"])
>>> [ el.text for el in path.find(root) ]
More information about the lxml-checkins
mailing list