diff --git a/edl/__init__.py b/edl/__init__.py index 533537c..d61e79f 100644 --- a/edl/__init__.py +++ b/edl/__init__.py @@ -3,7 +3,7 @@ Python EDL parsing library """ import sys -import collections +import collections.abc import re import pprint import timecode @@ -564,7 +564,7 @@ def parse(self, input_): stack = None if isinstance(input_, str): input_ = input_.splitlines(True) - if isinstance(input_, collections.Iterable): + if isinstance(input_, collections.abc.Iterable): stack = List(self.fps) for l in input_: for m in self.get_matchers():