Skip to content

Commit

Permalink
Fix collections.iterable warning (keon#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilhassija authored and keon committed Oct 16, 2019
1 parent 804b25e commit 816bec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/arrays/flatten.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Given an array that may contain nested arrays,
produce a single resultant array.
"""
from collections import Iterable
from collections.abc import Iterable


# return list
Expand Down

0 comments on commit 816bec0

Please sign in to comment.