Skip to content

Commit

Permalink
fix: broken doctest (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra authored Apr 24, 2024
1 parent 826e6f2 commit eab6bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data_binding/tree_serializing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ python [XmlTreeSerializer][xsdata.formats.dataclass.serializers.XmlTreeSerialize
>>> actual = etree.tostring(result)
>>> print(actual.decode())
<ns0:books xmlns:ns0="urn:books">
<book>
<book id="bk001" lang="en">
<author>Hightower, Kim</author>
<title>The First Book</title>
<genre>Fiction</genre>
<price>44.95</price>
<pub_date>2000-10-01</pub_date>
<review>An amazing story of nothing.</review>
</book>
<book>
<book id="bk002" lang="en">
<author>Nagata, Suanne</author>
<title>Becoming Somebody</title>
<genre>Biography</genre>
Expand Down

0 comments on commit eab6bb7

Please sign in to comment.