commit | 42d5c415224cf0bae36c74840b0d1c481f3ee99b | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Thu Nov 01 13:43:06 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Thu Nov 01 13:43:06 2012 +0200 |
tree | 3932b6d598e3d651a965a4f1fcce43e58b848d4a | |
parent | bcac6ad1f3776fed63ce5de57b6182352efcb2ca [diff] |
Change docstring for xdrlib.Error to use new style exceptions.
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 @@ 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: