[Python-Dev] Improving docs for len() of set (original) (raw)

Ethan Furman ethan at stoneleaf.us
Mon Feb 8 11:38:56 EST 2016


On 02/08/2016 08:23 AM, Ben Hoyt wrote:

.. describe:: len(s)

   Return the number of elements in set *s* (cardinality of *s*).
      Return the number of elements (cardinality) of *s*.

+1

-- Ethan



More information about the Python-Dev mailing list