summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.sax.utils.rst
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-09-01 23:34:30 (GMT)
committerCollin Winter <collinw@gmail.com>2007-09-01 23:34:30 (GMT)
commitc79461b1648c9209c3652184572a17eef0a76202 (patch)
tree47c6238c8c47c4881f6f0523ea86d201cea1fc94 /Doc/library/xml.sax.utils.rst
parent2ac012130549b1ef51ebce11148d01eaca1a7033 (diff)
downloadcpython-c79461b1648c9209c3652184572a17eef0a76202.zip
cpython-c79461b1648c9209c3652184572a17eef0a76202.tar.gz
cpython-c79461b1648c9209c3652184572a17eef0a76202.tar.bz2
Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
Diffstat (limited to 'Doc/library/xml.sax.utils.rst')
-rw-r--r--Doc/library/xml.sax.utils.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.sax.utils.rst b/Doc/library/xml.sax.utils.rst
index 639b63f..cd16348 100644
--- a/Doc/library/xml.sax.utils.rst
+++ b/Doc/library/xml.sax.utils.rst
@@ -42,7 +42,7 @@ or as base classes.
will be wrapped in double-quotes. The resulting string can be used directly
as an attribute value::
- >>> print "<element attr=%s>" % quoteattr("ab ' cd \" ef")
+ >>> print("<element attr=%s>" % quoteattr("ab ' cd \" ef"))
<element attr="ab ' cd &quot; ef">
This function is useful when generating attribute values for HTML or any SGML