Merge: change docstring for xdrlib.Error to use new style exceptions.

This commit is contained in:
Andrew Svetlov 2012-11-01 13:43:43 +02:00
commit 700835a57e
1 changed files with 1 additions and 1 deletions

View File

@ -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: