diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 13:43:06 +0200 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-11-01 13:43:06 +0200 |
| commit | 42d5c415224cf0bae36c74840b0d1c481f3ee99b (patch) | |
| tree | 3932b6d598e3d651a965a4f1fcce43e58b848d4a /Lib/xdrlib.py | |
| parent | bcac6ad1f3776fed63ce5de57b6182352efcb2ca (diff) | |
| download | cpython-git-42d5c415224cf0bae36c74840b0d1c481f3ee99b.tar.gz | |
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 4e48677040..29639159cb 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: |
