diff options
author | 2012-11-01 13:43:31 +0200 | |
---|---|---|
committer | 2012-11-01 13:43:31 +0200 | |
commit | 2e99d63e72018f17dfc3f6cb01666622de90c0be (patch) | |
tree | f5d3bf25253e14cf8e213b682caf77af58e52840 /Lib/xdrlib.py | |
parent | Merge issue #16373: Prevent infinite recursion for ABC Set class operations. (diff) | |
parent | Change docstring for xdrlib.Error to use new style exceptions. (diff) | |
download | cpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.tar.gz cpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.tar.bz2 cpython-2e99d63e72018f17dfc3f6cb01666622de90c0be.zip |
Merge: change docstring for xdrlib.Error to use new style exceptions.
Diffstat (limited to 'Lib/xdrlib.py')
-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 86e624f85da..c05cf87e4a1 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: |