1.1 --- a/lib/__builtins__/exception/base.py Wed Nov 30 18:42:37 2016 +0100
1.2 +++ b/lib/__builtins__/exception/base.py Wed Nov 30 18:44:58 2016 +0100
1.3 @@ -26,7 +26,13 @@
1.4 def __init__(self, index):
1.5 self.index = index
1.6
1.7 -class KeyError(Exception): pass
1.8 +class KeyError(Exception):
1.9 +
1.10 + "An error concerned with a dictionary key."
1.11 +
1.12 + def __init__(self, key):
1.13 + self.key = key
1.14 +
1.15 class NotImplementedError(Exception): pass
1.16 class StopIteration(Exception): pass
1.17