Skip to content

Commit fbad823

Browse files
committed
Update funcWithSetsAndDict.rst
One last fix
1 parent 4691391 commit fbad823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_sources/functions/funcWithSetsAndDict.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ You can use the following methods with sets.
183183
* set1.union(other_set) - returns a new set with all the items from ``set1`` and ``other_set``.
184184
* set1.intersection(other_set) - returns a new set with just the items that are in both ``set1`` and ``other_set``.
185185
* set1.difference(other_set) - returns a new set with the items in ``set1`` that are not in ``other_set``.
186-
* set1.issubset(other_set) - returns True if ``set1`` is a subset (has some of the same elements and no other elements) of ``other_set``.
186+
* set1.issubset(other_set) - returns True if ``set1`` is a subset (has some or all of the same elements and no other elements) of ``other_set``.
187187
* set1.issuperset(other_set) - returns True if set1 is a superset (has all the same elments and may have other elements) of ``other_set``.
188188
* set1.semmantic_difference(other_set) - returns a new set with the items that are in either ``set1`` or ``other_set``, but not both. This is also known as an exclusive or (XOR).
189189

0 commit comments

Comments
 (0)