mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Reword set docs to use *proper subset/superset* terminology.
This commit is contained in:
parent
1491cbdf63
commit
5bb420761f
1 changed files with 2 additions and 2 deletions
|
|
@ -1954,7 +1954,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)
|
||||
|
|
@ -1964,7 +1964,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