aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2020-01-31 02:59:37 -0700
committerTim Harder <radhermit@gmail.com>2020-01-31 02:59:37 -0700
commitac8820a69e8e6cd0062dd8596f2995815cf021dd (patch)
treecf4cfd6038b254374f0fc1b42465446a940ccd77 /src/snakeoil/iterables.py
parentbump version and update news (diff)
downloadsnakeoil-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.py4
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