Skip to content

Commit

Permalink
Merge pull request #2 from phamk/python-38-compat
Browse files Browse the repository at this point in the history
Change collections.Iterable to collections.abc.Iterable
  • Loading branch information
phamk authored Jan 5, 2024
2 parents 5a50232 + b890e82 commit b00be85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagulous/models/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def __set__(self, instance, value):
# If it's a string, it must be a tag string
manager.set_tag_string(value)

elif isinstance(value, collections.Iterable):
elif isinstance(value, collections.abc.Iterable):
# An iterable goes in as a list of things that are, or can be
# converted to, strings
manager.set_tag_list(value)
Expand Down

0 comments on commit b00be85

Please sign in to comment.