Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: Doc/library/functions.rst

Issue 19362: Documentation for len() fails to mention that it works on sets
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Python/bltinmodule.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/functions.rst Tue Feb 04 09:49:14 2014 +0100
+++ b/Doc/library/functions.rst Tue Feb 04 21:38:04 2014 +0000
@@ -727,7 +727,7 @@
.. function:: len(s)
Return the length (the number of items) of an object. The argument may be a
- sequence (string, tuple or list) or a mapping (dictionary).
+ sequence (string, tuple or list), a mapping (dictionary), or a set.
.. _func-list:
« no previous file with comments | « no previous file | Python/bltinmodule.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+