summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.sax.utils.rst
diff options
context:
space:
mode:
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