Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stix/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def istypeof(cls, obj):
return isinstance(obj, cls)


class TypedList(TypedCollection, collections.MutableSequence):
class TypedList(TypedCollection, collections.abc.MutableSequence):
def __init__(self, *args):
TypedCollection.__init__(self, *args)

Expand Down
2 changes: 1 addition & 1 deletion stix/common/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from stix.bindings import stix_common as stix_common_binding


class Profiles(collections.MutableSequence, stix.Entity):
class Profiles(collections.abc.MutableSequence, stix.Entity):
_binding = stix_common_binding
_binding_class = stix_common_binding.ProfilesType
_namespace = 'http://stix.mitre.org/common-1'
Expand Down
2 changes: 1 addition & 1 deletion stix/common/references.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from stix.bindings import stix_common as stix_common_binding


class References(collections.MutableSequence, stix.Entity):
class References(collections.abc.MutableSequence, stix.Entity):
_binding = stix_common_binding
_binding_class = stix_common_binding.ReferencesType
_namespace = 'http://stix.mitre.org/common-1'
Expand Down
2 changes: 1 addition & 1 deletion stix/common/structured_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _unset_default(text):
text.ordinality = ordinality


class StructuredTextList(stix.TypedCollection, collections.Sequence):
class StructuredTextList(stix.TypedCollection, collections.abc.Sequence):
"""A sequence type used to store StructureText objects.

Args:
Expand Down
2 changes: 1 addition & 1 deletion stix/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.

__version__ = "1.2.0.10"
__version__ = "1.2.0.11"