diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 11:43:06 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 11:43:06 (GMT) |
commit | 42d5c415224cf0bae36c74840b0d1c481f3ee99b (patch) | |
tree | 3932b6d598e3d651a965a4f1fcce43e58b848d4a /Lib/xdrlib.py | |
parent | bcac6ad1f3776fed63ce5de57b6182352efcb2ca (diff) | |
download | cpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.zip cpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.tar.gz cpython-42d5c415224cf0bae36c74840b0d1c481f3ee99b.tar.bz2 |
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 4e48677..2963915 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: |