Skip to content

Commit

Permalink
Import Iterable from collections.abc
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlence committed Oct 30, 2020
1 parent 942f81e commit 0ba3583
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpp/encoder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from decimal import Decimal

from .element import Element
Expand Down

0 comments on commit 0ba3583

Please sign in to comment.