commit | 596db3161c8cf0a492f5613cb5721b6c12c1dceb | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Oct 06 15:48:20 1997 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Oct 06 15:48:20 1997 +0000 |
tree | 2341eb9f5f2c455f9c606333373f53d96bc6ea10 | |
parent | bf9d353babbd4126fc080a9a84ae65cc529b209d [diff] |
Move the __getitem__() definition from StandardException to Exception. This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ...