Skip to content

Commit

Permalink
Remove "canonical" from a couple more places in docstrings which
Browse files Browse the repository at this point in the history
I missed.
  • Loading branch information
chisholm committed Feb 15, 2021
1 parent ccaa8b6 commit 745696c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions stix2/equivalence/pattern/transform/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion stix2/equivalence/pattern/transform/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 745696c

Please sign in to comment.