diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-15 18:07:37 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-15 18:07:37 +0200 |
commit | 79f92e7144e57e1e3499cbfcca094636daf51396 (patch) | |
tree | 169342054616aad65e0cf2e0ffee1de2d845a19e /datafile.py | |
parent | 2db08e43d82c0a34e87d30290a8400d4f4317601 (diff) |
datafile: do not explicitly raise StopIteration at generator end
Should not be done in python3.
Diffstat (limited to 'datafile.py')
-rw-r--r-- | datafile.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/datafile.py b/datafile.py index 8a61c13..469e58e 100644 --- a/datafile.py +++ b/datafile.py @@ -73,7 +73,6 @@ class _DataRefinementLevel(object): def __iter__(self): for it, t in self._ds._df.itertimes[self.n]: yield self._ds.slice(it, rl = self.n) - raise StopIteration #def _next(self): |