mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Reword set docs to use *proper subset/superset* terminology.
This commit is contained in:
parent
0552fc2b8a
commit
2c184c6d75
1 changed files with 2 additions and 2 deletions
|
@ -1771,7 +1771,7 @@ The constructors for both classes work the same:
|
||||||
|
|
||||||
.. method:: set < other
|
.. 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``.
|
``set <= other and set != other``.
|
||||||
|
|
||||||
.. method:: issuperset(other)
|
.. method:: issuperset(other)
|
||||||
|
@ -1781,7 +1781,7 @@ The constructors for both classes work the same:
|
||||||
|
|
||||||
.. method:: set > other
|
.. 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``.
|
other and set != other``.
|
||||||
|
|
||||||
.. method:: union(other, ...)
|
.. method:: union(other, ...)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue