diff options
Diffstat (limited to 'Lib/exceptions.py')
-rw-r--r-- | Lib/exceptions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/exceptions.py b/Lib/exceptions.py index 686ba38..c7bbbf4 100644 --- a/Lib/exceptions.py +++ b/Lib/exceptions.py @@ -58,10 +58,12 @@ class Exception: else: return str(self.args) -class StandardError(Exception): def __getitem__(self, i): return self.args[i] +class StandardError(Exception): + pass + class SyntaxError(StandardError): filename = lineno = offset = text = None msg = "" |