[Python-checkins] cpython (3.5): 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:30 EST 2016
https://hg.python.org/cpython/rev/81cb7af9ce10
changeset: 100196:81cb7af9ce10
branch: 3.5
parent: 100194:940908d3e439
user: Gregory P. Smith <greg at krypto.org>
date: Mon Feb 08 09:58:40 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