Lichen

Change of lib/__builtins__/iteration/iterator.py

907:018b653418f2
lib/__builtins__/iteration/iterator.py
     1.1 --- a/lib/__builtins__/iteration/iterator.py	Sat Jun 08 17:54:53 2019 +0200
     1.2 +++ b/lib/__builtins__/iteration/iterator.py	Sat Jun 08 17:55:32 2019 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  """
     1.5  Iterator objects.
     1.6  
     1.7 -Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
     1.8 +Copyright (C) 2015, 2016, 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 @@ -39,6 +39,6 @@
    1.13              self.i += 1
    1.14              return value
    1.15          except IndexError:
    1.16 -            raise StopIteration()
    1.17 +            raise StopIteration, self
    1.18  
    1.19  # vim: tabstop=4 expandtab shiftwidth=4