[Python-checkins] cpython (merge 3.5 -> default): Clarify "cardinality of" as "number of elements in" as many readers do

gregory.p.smith python-checkins at python.org
Mon Feb 8 12:59:28 EST 2016


https://hg.python.org/cpython/rev/a67fda8e33b0
changeset:   100197:a67fda8e33b0
parent:      100195:7fa70b7cd16f
parent:      100196:81cb7af9ce10
user:        Gregory P. Smith <greg at krypto.org>
date:        Mon Feb 08 09:59:00 2016 -0800
summary:
  Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.

files:
  Doc/library/stdtypes.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3828,7 +3828,7 @@
 
    .. describe:: len(s)
 
-      Return the cardinality of set *s*.
+      Return the number of elements in set *s* (cardinality of *s*).
 
    .. describe:: x in s
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list