Thanks! Commit ref: https://hg.python.org/cpython/rev/a67fda8e33b0 -Ben On Mon, Feb 8, 2016 at 1:00 PM, Gregory P. Smith <greg at krypto.org> wrote: > > > On Mon, Feb 8, 2016 at 8:24 AM Ben Hoyt <benhoyt at gmail.com> wrote: > >> Hi folks, >> >> Just a suggestion for a documentation tweak. Currently the docs for len() >> on a set say this: >> >> .. describe:: len(s) >> >> Return the cardinality of set *s*. >> >> I'm a relatively seasoned programmer, but I don't really have a maths >> background, and I didn't know what "cardinality" meant. I could kind of >> grok it by context, but could we change this to something like the >> following? >> >> .. describe:: len(s) >> >> Return the number of elements in set *s* (cardinality of *s*). >> >> > Agreed. Done. :) > > -gps > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160208/f1dffb6c/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4