Kaydet (Commit) 700835a5 authored tarafından Andrew Svetlov's avatar Andrew Svetlov

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

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