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.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/xdrlib.rst b/Doc/library/xdrlib.rst
index 6f05306..5c7dfa4 100644
--- a/Doc/library/xdrlib.rst
+++ b/Doc/library/xdrlib.rst
@@ -275,4 +275,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)
+