summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-02-08 09:59:00 -0800
committerGregory P. Smith <greg@krypto.org>2016-02-08 09:59:00 -0800
commitb8e5eb31eaacc062a19a02e5778675e4ed2d3a3b (patch)
treef548a8854a15400c942f70cd01c0442181ed36bc
parenta74826b086bfadf1ad6965ed9352517dfe84daa9 (diff)
parente27403b75f4cae15650292d6735b917fed3e9a8f (diff)
downloadcpython-git-b8e5eb31eaacc062a19a02e5778675e4ed2d3a3b.tar.gz
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 774b0c6230..e491fd26da 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