mirror of
https://github.com/python/cpython.git
synced 2026-05-07 02:51:00 +00:00
Merge: Reword set docs to use *proper subset/superset* terminology.
This commit is contained in:
commit
129f57bc51
1 changed files with 2 additions and 2 deletions
|
|
@ -2793,7 +2793,7 @@ The constructors for both classes work the same:
|
|||
|
||||
.. method:: set < other
|
||||
|
||||
Test whether the set is a true subset of *other*, that is,
|
||||
Test whether the set is a proper subset of *other*, that is,
|
||||
``set <= other and set != other``.
|
||||
|
||||
.. method:: issuperset(other)
|
||||
|
|
@ -2803,7 +2803,7 @@ The constructors for both classes work the same:
|
|||
|
||||
.. method:: set > other
|
||||
|
||||
Test whether the set is a true superset of *other*, that is, ``set >=
|
||||
Test whether the set is a proper superset of *other*, that is, ``set >=
|
||||
other and set != other``.
|
||||
|
||||
.. method:: union(other, ...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue