diff --git a/stix2/equivalence/pattern/transform/comparison.py b/stix2/equivalence/pattern/transform/comparison.py index ad10a524..93a80e4c 100644 --- a/stix2/equivalence/pattern/transform/comparison.py +++ b/stix2/equivalence/pattern/transform/comparison.py @@ -147,9 +147,8 @@ class OrderDedupeTransformer( ComparisonExpressionTransformer, ): """ - Canonically order the children of all nodes in the AST. Because the - deduping algorithm is based on sorted data, this transformation also does - deduping. + Order the children of all nodes in the AST. Because the deduping algorithm + is based on sorted data, this transformation also does deduping. E.g.: A and A => A diff --git a/stix2/equivalence/pattern/transform/observation.py b/stix2/equivalence/pattern/transform/observation.py index 7b2603a9..a92fff84 100644 --- a/stix2/equivalence/pattern/transform/observation.py +++ b/stix2/equivalence/pattern/transform/observation.py @@ -234,7 +234,7 @@ class OrderDedupeTransformer( ObservationExpressionTransformer, ): """ - Canonically order AND/OR expressions, and dedupe ORs. E.g.: + Order AND/OR expressions, and dedupe ORs. E.g.: A or A => A B or A => A or B