Remove "canonical" from a couple more places in docstrings which
I missed.pull/1/head
parent
ccaa8b62ae
commit
745696cba1
|
@ -147,9 +147,8 @@ class OrderDedupeTransformer(
|
||||||
ComparisonExpressionTransformer,
|
ComparisonExpressionTransformer,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Canonically order the children of all nodes in the AST. Because the
|
Order the children of all nodes in the AST. Because the deduping algorithm
|
||||||
deduping algorithm is based on sorted data, this transformation also does
|
is based on sorted data, this transformation also does deduping.
|
||||||
deduping.
|
|
||||||
|
|
||||||
E.g.:
|
E.g.:
|
||||||
A and A => A
|
A and A => A
|
||||||
|
|
|
@ -234,7 +234,7 @@ class OrderDedupeTransformer(
|
||||||
ObservationExpressionTransformer,
|
ObservationExpressionTransformer,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Canonically order AND/OR expressions, and dedupe ORs. E.g.:
|
Order AND/OR expressions, and dedupe ORs. E.g.:
|
||||||
|
|
||||||
A or A => A
|
A or A => A
|
||||||
B or A => A or B
|
B or A => A or B
|
||||||
|
|
Loading…
Reference in New Issue