diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 11:43:43 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 11:43:43 (GMT) |
commit | 700835a57ec86a9904c1baf7570f99b934c33dff (patch) | |
tree | dc124d2cb7ab2162eaf22d42aeb59df0407ac586 /Lib | |
parent | 73ee816d0561f5a2655974a507ae2288e41615db (diff) | |
parent | 2e99d63e72018f17dfc3f6cb01666622de90c0be (diff) | |
download | cpython-700835a57ec86a9904c1baf7570f99b934c33dff.zip cpython-700835a57ec86a9904c1baf7570f99b934c33dff.tar.gz cpython-700835a57ec86a9904c1baf7570f99b934c33dff.tar.bz2 |
Merge: change docstring for xdrlib.Error to use new style exceptions.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/xdrlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ __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: |