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

Lorenzo Moriondo tunedconsulting at gmail.com
Mon Feb 8 11:48:28 EST 2016


@Ben I am not either a great fan of formal (mathematic) definitions (:

Lorenzo Moriondo, from mobile
~~it.linkedin.com~in~lorenzomoriondo~~
On Feb 8, 2016 5:38 PM, "Ethan Furman" <ethan at stoneleaf.us> wrote:
>
> 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

+1 to this for me as well

>
> --
> ~Ethan~
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
https://mail.python.org/mailman/options/python-dev/tunedconsulting%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160208/121c0ff1/attachment.html>


More information about the Python-Dev mailing list