summaryrefslogtreecommitdiffstats
path: root/Doc/library/xdrlib.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/xdrlib.rst')
-rw-r--r--Doc/library/xdrlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xdrlib.rst b/Doc/library/xdrlib.rst
index 6339a7f..e9d9367 100644
--- a/Doc/library/xdrlib.rst
+++ b/Doc/library/xdrlib.rst
@@ -272,5 +272,5 @@ Here is an example of how you would catch one of these exceptions::
try:
p.pack_double(8.01)
except xdrlib.ConversionError as instance:
- print 'packing the double failed:', instance.msg
+ print('packing the double failed:', instance.msg)