[ python-Bugs-1414697 ] inconsistency in help(set)

SourceForge.net noreply at sourceforge.net
Fri Jan 27 15:56:23 CET 2006


Bugs item #1414697, was opened at 2006-01-25 10:43
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1414697&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregory Petrosyan (gregory_p)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: inconsistency in help(set)

Initial Comment:
>>> help(set)

Help on class set in module __builtin__:

class set(object)
 |  set(iterable) --> set object
 |
 |  Build an unordered collection.
 |
 |  Methods defined here:
 |      ...


It would be better for docstring to be """Build an
unordered collection with no duplicate elements.""" 
instead of """Build an unordered collection."""

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1414697&group_id=5470


More information about the Python-bugs-list mailing list