Skip to content

Commit

Permalink
Fix MutableSequence import for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Sep 30, 2021
1 parent be0a070 commit bfe9d92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pysubs2/ssafile.py
@@ -1,4 +1,7 @@
from collections import MutableSequence
try:
from collections import abc
except ImportError:
import collections as abc
import io
from io import open
from itertools import chain
Expand All @@ -14,7 +17,7 @@
from .time import make_time, ms_to_str


class SSAFile(MutableSequence):
class SSAFile(abc.MutableSequence):
"""
Subtitle file in SubStation Alpha format.
Expand Down

0 comments on commit bfe9d92

Please sign in to comment.