1.1 --- a/lib/__builtins__/exception/system.py Sun Dec 11 18:33:09 2016 +0100
1.2 +++ b/lib/__builtins__/exception/system.py Mon Dec 12 00:33:33 2016 +0100
1.3 @@ -20,7 +20,18 @@
1.4 """
1.5
1.6 class EnvironmentError(Exception): pass
1.7 -class OSError(Exception): pass
1.8 +
1.9 +class OSError(Exception):
1.10 +
1.11 + "A general operating system error."
1.12 +
1.13 + def __init__(self, value, arg):
1.14 +
1.15 + "Initialise the exception with the given error 'value' and 'arg'."
1.16 +
1.17 + self.value = value
1.18 + self.arg = arg
1.19 +
1.20 class RuntimeError(Exception): pass
1.21 class RuntimeWarning(Warning): pass
1.22 class SystemError(Exception): pass