Skip to content

Commit

Permalink
Merge c088f7c into d80d791
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdon-reciprocity committed Nov 21, 2019
2 parents d80d791 + c088f7c commit b265c74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion promise/dataloader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from collections import Iterable, namedtuple
from collections import namedtuple
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from functools import partial

from .promise import Promise, async_instance, get_default_scheduler
Expand Down
5 changes: 4 additions & 1 deletion promise/promise_list.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from functools import partial
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable

if False:
from .promise import Promise
Expand Down

0 comments on commit b265c74

Please sign in to comment.