1.1 --- a/lib/__builtins__/exception/base.py Sun Nov 27 23:21:35 2016 +0100
1.2 +++ b/lib/__builtins__/exception/base.py Sun Nov 27 23:22:51 2016 +0100
1.3 @@ -19,13 +19,15 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 -class GeneratorExit(Exception): pass
1.8 -class IndexError(Exception): pass
1.9 +class IndexError(Exception):
1.10 +
1.11 + "An error condition involving an index."
1.12 +
1.13 + def __init__(self, index):
1.14 + self.index = index
1.15 +
1.16 class KeyError(Exception): pass
1.17 -class LookupError(Exception): pass
1.18 class NotImplementedError(Exception): pass
1.19 -class ReferenceError(Exception): pass
1.20 -class StandardError(Exception): pass
1.21 class StopIteration(Exception): pass
1.22 class ValueError(Exception): pass
1.23