Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e27403b

Browse files
committed
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.
1 parent 84d9fe3 commit e27403b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,7 @@ The constructors for both classes work the same:
38283828

38293829
.. describe:: len(s)
38303830

3831-
Return the cardinality of set *s*.
3831+
Return the number of elements in set *s* (cardinality of *s*).
38323832

38333833
.. describe:: x in s
38343834

0 commit comments

Comments
 (0)