From 7dabda500b663751610bfb8994b1f9c49eddab2a Mon Sep 17 00:00:00 2001 From: Nico Maillet <nicolas.maillet@pasteur.fr> Date: Tue, 14 Mar 2023 14:06:17 +0100 Subject: [PATCH] English in comment --- rpg/rule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpg/rule.py b/rpg/rule.py index 8e16b29..01774f9 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 -- GitLab