File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -732,9 +732,9 @@ Sets are useful because they provide *set operations*, such as union
732
732
``s.discard(item) `` Remove ``item `` from s (mutates ``s ``). No error on missing ``item ``
733
733
``s.intersection(s2) `` Return set with elements from both sets
734
734
``s.intersection_update(s2) `` Update ``s `` with members of ``s2 `` (mutates ``s ``)
735
- ``s.isdisjoint(s2) `` ``True `` is there is no intersection
736
- ``s.issubset(s2) `` All elements of ``s `` in ``s2 ``
737
- ``s.issuperset(s2) `` All elements of ``s2 `` in ``s2 ``
735
+ ``s.isdisjoint(s2) `` ``True `` if there is no intersection of these two sets
736
+ ``s.issubset(s2) `` `` True `` if all elements of ``s `` are in ``s2 ``
737
+ ``s.issuperset(s2) `` `` True `` if all elements of ``s2 `` are in ``s ``
738
738
``s.pop() `` Remove arbitrary item from s (mutates ``s ``). ``KeyError `` on missing ``item ``
739
739
``s.remove(item) `` Remove ``item `` from s (mutates ``s ``). ``KeyError `` on missing ``item ``
740
740
``s.symmetric_difference(s2) `` Return set with elements only in one of the sets
You can’t perform that action at this time.
0 commit comments