Commit 42d5c415 authored by Andrew Svetlov's avatar Andrew Svetlov

Change docstring for xdrlib.Error to use new style exceptions.

parent bcac6ad1
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment