summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 11:43:06 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 11:43:06 (GMT)
commit42d5c415224cf0bae36c74840b0d1c481f3ee99b (patch)
tree3932b6d598e3d651a965a4f1fcce43e58b848d4a /Lib
parentbcac6ad1f3776fed63ce5de57b6182352efcb2ca (diff)
downloadcpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.zip
cpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.tar.gz
cpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.tar.bz2
Change docstring for xdrlib.Error to use new style exceptions.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xdrlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py
index 4e48677..2963915 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: