diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 13:59:18 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 13:59:18 +0000 |
commit | f74e46cf473c3c2197c073cccc3ae4446c9b03a1 (patch) | |
tree | 4f1f1f14cb10bf7e8784e212ae552f9b3aad37ea /Lib/xdrlib.py | |
parent | 27a353020bef4318896bf16f558ed7e2af76e40a (diff) | |
download | cpython-git-f74e46cf473c3c2197c073cccc3ae4446c9b03a1.tar.gz |
Derive exception classes from Exception
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 7b02c41d01..270604799d 100644 --- a/Lib/xdrlib.py +++ b/Lib/xdrlib.py @@ -13,7 +13,7 @@ except ImportError: __all__ = ["Error", "Packer", "Unpacker", "ConversionError"] # exceptions -class Error: +class Error(Exception): """Exception class for this module. Use: except xdrlib.Error, var: |