Showing content from http://mail.python.org/pipermail/python-dev/attachments/20160208/f1dffb6c/attachment.html below:
<div dir="ltr">Thanks!<div><br></div><div>Commit ref: <a href="https://hg.python.org/cpython/rev/a67fda8e33b0">https://hg.python.org/cpython/rev/a67fda8e33b0</a></div><div><br></div><div>-Ben</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 1:00 PM, Gregory P. Smith <span dir="ltr"><<a href="mailto:greg@krypto.org" target="_blank">greg@krypto.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span class=""><div dir="ltr">On Mon, Feb 8, 2016 at 8:24 AM Ben Hoyt <<a href="mailto:benhoyt@gmail.com" target="_blank">benhoyt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi folks,</div><div><br></div><div>Just a suggestion for a documentation tweak. Currently the docs for len() on a set say this:</div><div><br></div><div>Â Â .. describe:: len(s)</div><div><br></div><div>Â Â Â Return the cardinality of set *s*.</div><div><br></div><div>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?</div><div><br></div><div>Â Â .. describe:: len(s)</div><div><br></div><div>Â Â Â Return the number of elements in set *s* (cardinality of *s*).</div><div><br></div></div></div></blockquote><div><br></div></span><div>Agreed. Done. :)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-gps</div></font></span></div></div>
</blockquote></div><br></div>
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