diff --git a/rpg/rule.py b/rpg/rule.py index 8e16b2953be6a524651e71e1d73c4274ce997256..01774f9de9871d93bddc1f3f7a0117d6cfd7c6de 100644 --- a/rpg/rule.py +++ b/rpg/rule.py @@ -98,7 +98,7 @@ class Rule: and (self.pos == other.pos) def contains(self, other): - """Test if another rule is contains in sub-rules **without + """Test if another rule is contained in sub-rules **without taking into account sub-rules nor `cleavage`** and return the sub-rule if founded. @@ -115,7 +115,7 @@ class Rule: return ret def contains_any_level(self, other, ret=False): - """Test if another rule is contains within **without taking into + """Test if another rule is contained within **without taking into account sub-rules nor `cleavage`** no matter what level. :param other: rule to compare with