commit | 2e99d63e72018f17dfc3f6cb01666622de90c0be | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Thu Nov 01 13:43:31 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Thu Nov 01 13:43:31 2012 +0200 |
tree | f5d3bf25253e14cf8e213b682caf77af58e52840 | |
parent | b904e4256e739ccd40b634842a248fe6a9971ad9 [diff] | |
parent | 42d5c415224cf0bae36c74840b0d1c481f3ee99b [diff] |
Merge: change docstring for xdrlib.Error to use new style exceptions.
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 @@ 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: