[ python-Bugs-1389673 ] Incorrectly docs for return values of set update methods

SourceForge.net noreply at sourceforge.net
Sat Dec 24 19:27:06 CET 2005


Bugs item #1389673, was opened at 2005-12-24 13:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1389673&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: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrectly docs for return values of set update methods

Initial Comment:
The documentation for set.update(),
set.intersection_update(), set.difference_update() and
set.symmetric_difference_update currently (as of
r41806) states that these methods all return the
updated set, implying that this is a not-in-place
change. In fact, these methods do operate in place,
each one of them returning None.

The attached diff (against Doc/lib/libstdtypes.tex,
r41806) fixes this, making it clear that these are
in-place operations.

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

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


More information about the Python-bugs-list mailing list