From: Gregory P. Smith Date: Mon, 8 Feb 2016 17:58:40 +0000 (-0800) Subject: Clarify "cardinality of" as "number of elements in" as many readers do X-Git-Tag: v3.6.0a1~632^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e27403b75f4cae15650292d6735b917fed3e9a8f;p=thirdparty%2FPython%2Fcpython.git Clarify "cardinality of" as "number of elements in" as many readers do not have a math vocabulary. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 774b0c6230a5..e491fd26daa1 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