Skip to content

Commit 49d2b8b

Browse files
committed
Fix Python 3.10 compatibility (collections.abc imports)
Many classes moved from `collections` module to `collections.abc`. https://docs.python.org/3.9/library/collections.html?highlight=collections#module-collections > Deprecated since version 3.3, will be removed in version 3.10: Moved > Collections Abstract Base Classes to the collections.abc module. For > backwards compatibility, they continue to be visible in this module > through Python 3.9.
1 parent d8d8e93 commit 49d2b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dyn/tm/services/dsf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""This module contains wrappers for interfacing with every element of a
33
Traffic Director (DSF) service.
44
"""
5-
from collections import Iterable
5+
from collections.abc import Iterable
66
from dyn.compat import force_unicode, string_types
77
from dyn.tm.utils import APIList, Active
88
from dyn.tm.errors import DynectInvalidArgumentError

0 commit comments

Comments
 (0)