summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: