summaryrefslogtreecommitdiffstats
path: root/Lib/xdrlib.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 11:43:31 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 11:43:31 (GMT)
commit2e99d63e72018f17dfc3f6cb01666622de90c0be (patch)
treef5d3bf25253e14cf8e213b682caf77af58e52840 /Lib/xdrlib.py
parentb904e4256e739ccd40b634842a248fe6a9971ad9 (diff)
parent42d5c415224cf0bae36c74840b0d1c481f3ee99b (diff)
downloadcpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.zip
cpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.tar.gz
cpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.tar.bz2
Merge: change docstring for xdrlib.Error to use new style exceptions.
Diffstat (limited to 'Lib/xdrlib.py')
-rw-r--r--Lib/xdrlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index 86e624f..c05cf87 100644
--- a/Lib/xdrlib.py
+++ b/Lib/xdrlib.py
@@ -13,7 +13,7 @@ __all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
class Error(Exception):
"""Exception class for this module. Use:
- except xdrlib.Error, var:
+ except xdrlib.Error as var:
# var has the Error instance for the exception
Public ivars: