diff options
author | Tim Harder <radhermit@gmail.com> | 2020-01-31 02:59:37 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2020-01-31 02:59:37 -0700 |
commit | ac8820a69e8e6cd0062dd8596f2995815cf021dd (patch) | |
tree | cf4cfd6038b254374f0fc1b42465446a940ccd77 /src/snakeoil/iterables.py | |
parent | bump version and update news (diff) | |
download | snakeoil-ac8820a69e8e6cd0062dd8596f2995815cf021dd.tar.gz snakeoil-ac8820a69e8e6cd0062dd8596f2995815cf021dd.tar.bz2 snakeoil-ac8820a69e8e6cd0062dd8596f2995815cf021dd.zip |
drop unnecessary object class inheritance for py3
Diffstat (limited to 'src/snakeoil/iterables.py')
-rw-r--r-- | src/snakeoil/iterables.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snakeoil/iterables.py b/src/snakeoil/iterables.py index 12f0aed7..9b5bb266 100644 --- a/src/snakeoil/iterables.py +++ b/src/snakeoil/iterables.py @@ -25,7 +25,7 @@ def partition(iterable, predicate=bool): (x for pred, x in b if pred)) -class expandable_chain(object): +class expandable_chain: """ chained iterables, with the ability to add new iterables to the chain as long as the instance hasn't raised StopIteration already. This is @@ -94,7 +94,7 @@ class expandable_chain(object): self.iterables.extendleft(iter(x) for x in iterables) -class caching_iter(object): +class caching_iter: """ On demand consumes from an iterable so as to appear like a tuple |