mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.
This commit is contained in:
parent
84d9fe3953
commit
e27403b75f
1 changed files with 1 additions and 1 deletions
|
@ -3828,7 +3828,7 @@ The constructors for both classes work the same:
|
|||
|
||||
.. describe:: len(s)
|
||||
|
||||
Return the cardinality of set *s*.
|
||||
Return the number of elements in set *s* (cardinality of *s*).
|
||||
|
||||
.. describe:: x in s
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue