summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-02-08 17:58:40 (GMT)
committerGregory P. Smith <greg@krypto.org>2016-02-08 17:58:40 (GMT)
commite27403b75f4cae15650292d6735b917fed3e9a8f (patch)
tree11bd653fa83f28cb8ea1ac19c05d9e32486887e6
parent84d9fe39539bfda4d3b5298ab244af972b3766ce (diff)
downloadcpython-e27403b75f4cae15650292d6735b917fed3e9a8f.zip
cpython-e27403b75f4cae15650292d6735b917fed3e9a8f.tar.gz
cpython-e27403b75f4cae15650292d6735b917fed3e9a8f.tar.bz2
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 774b0c6..e491fd2 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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