[Lxml-checkins] r44679 - lxml/trunk/doc
scoder at codespeak.net
scoder at codespeak.net
Mon Jul 2 21:44:11 CEST 2007
Author: scoder
Date: Mon Jul 2 21:44:10 2007
New Revision: 44679
Modified:
lxml/trunk/doc/tutorial.txt
Log:
doctest readability
Modified: lxml/trunk/doc/tutorial.txt
==============================================================================
--- lxml/trunk/doc/tutorial.txt (original)
+++ lxml/trunk/doc/tutorial.txt Mon Jul 2 21:44:10 2007
@@ -426,7 +426,7 @@
... E.body(
... E.h1("Hello!", CLASS("title")),
... E.p("This is a paragraph with ", E.b("bold"), " text in it!"),
- ... E.p("This is another paragraph, with a ",
+ ... E.p("This is another paragraph, with a", "\n ",
... E.a("link", href="http://www.python.org"), "."),
... E.p("Here are some reservered characters: <spam&egg>."),
... etree.XML("<p>And finally an embedded XHTML fragment.</p>"),
@@ -442,7 +442,8 @@
<body>
<h1 class="title">Hello!</h1>
<p>This is a paragraph with <b>bold</b> text in it!</p>
- <p>This is another paragraph, with a <a href="http://www.python.org">link</a>.</p>
+ <p>This is another paragraph, with a
+ <a href="http://www.python.org">link</a>.</p>
<p>Here are some reservered characters: <spam&egg>.</p>
<p>And finally an embedded XHTML fragment.</p>
</body>
More information about the lxml-checkins
mailing list