1.1 --- a/lib/__builtins__/exception/program.py Thu Jan 12 23:29:39 2017 +0100
1.2 +++ b/lib/__builtins__/exception/program.py Thu Jan 12 23:50:26 2017 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Program exception objects.
1.6
1.7 -Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -19,13 +19,13 @@
1.13 this program. If not, see <http://www.gnu.org/licenses/>.
1.14 """
1.15
1.16 -class DeprecationWarning(Exception): pass
1.17 -class FutureWarning(Warning): pass
1.18 -class IndentationError(Exception): pass
1.19 -class PendingDeprecationWarning(Warning): pass
1.20 -class SyntaxError(Exception): pass
1.21 -class SyntaxWarning(Warning): pass
1.22 -class TabError(Exception): pass
1.23 -class UserWarning(Warning): pass
1.24 +class SyntaxError(Exception):
1.25 +
1.26 + "A general syntax error."
1.27 +
1.28 + pass
1.29 +
1.30 +class IndentationError(SyntaxError): pass
1.31 +class TabError(SyntaxError): pass
1.32
1.33 # vim: tabstop=4 expandtab shiftwidth=4