Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

doc fixes

--HG--
extra : rebase_source : 9bbb1e648f16cbc65788f50f42784ad955b7fe77
  • Loading branch information...
commit 1e7c830d97166cb39498cc5c1fe05a6ec7844736 1 parent c4e4fdb
scoder scoder authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 doc/element_classes.txt
6 doc/element_classes.txt
View
@@ -38,10 +38,6 @@ custom Element classes.
4 Generating XML with custom classes
5 Implementing namespaces
-..
- >>> try: _ = unicode
- ... except NameError: unicode = str
-
Background on Element proxies
=============================
@@ -410,7 +406,7 @@ You can use custom Element classes to quickly create XML fragments:
>>> el = hale( "some ", honk(honking = 'true'), bopp, " text" )
- >>> print(etree.tostring(el, encoding=unicode))
+ >>> print(etree.tostring(el, encoding='unicode'))
<hale>some <honk honking="true"/><bopp/> text</hale>
Please sign in to comment.
Something went wrong with that request. Please try again.