File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -545,14 +545,14 @@ def add(self, other):
545
545
546
546
def update (self , other ):
547
547
"""
548
- s.update(t) returns nodeset s with elements added from t.
548
+ s.update(t) updates nodeset s with elements added from t.
549
549
"""
550
550
for pat , rangeset in other ._patterns .items ():
551
551
self ._add (pat , rangeset )
552
552
553
553
def updaten (self , others ):
554
554
"""
555
- s.updaten(list) returns nodeset s with elements added from given list.
555
+ s.updaten(list) updates nodeset s with elements added from given list.
556
556
"""
557
557
for other in others :
558
558
self .update (other )
@@ -592,7 +592,7 @@ def __and__(self, other):
592
592
593
593
def intersection_update (self , other ):
594
594
"""
595
- ``s.intersection_update(t)`` returns nodeset s keeping only
595
+ ``s.intersection_update(t)`` updates nodeset s keeping only
596
596
elements also found in t.
597
597
"""
598
598
if other is self :
@@ -712,7 +712,7 @@ def __xor__(self, other):
712
712
713
713
def symmetric_difference_update (self , other ):
714
714
"""
715
- ``s.symmetric_difference_update(t)`` returns nodeset s keeping all
715
+ ``s.symmetric_difference_update(t)`` updates nodeset s keeping all
716
716
nodes that are in exactly one of the nodesets.
717
717
"""
718
718
purge_patterns = []
You can’t perform that action at this time.
0 commit comments