1.1 --- a/lib/__builtins__/exception/base.py Thu Jan 24 18:28:15 2019 +0100
1.2 +++ b/lib/__builtins__/exception/base.py Thu Jan 24 19:12:29 2019 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Base exception objects. See __builtins__.core for the core exceptions.
1.6
1.7 -Copyright (C) 2015, 2016, 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2018, 2019 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 @@ -61,6 +61,12 @@
1.13
1.14 pass
1.15
1.16 +class LoopExit(Exception):
1.17 +
1.18 + "An exception signalling the end of iteration in a loop."
1.19 +
1.20 + pass
1.21 +
1.22 class StopIteration(Exception):
1.23
1.24 "An exception signalling the end of iteration."