mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
|
||||
|
||||
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)
|
||||
|
@ -1781,7 +1781,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