[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [ python-Bugs-1389673 ] Incorrect docs for return values of set
From:       noreply () sourceforge ! net (SourceForge ! net)
Date:       2005-12-26 23:56:28
Message-ID: E1Er2Ca-0004pZ-1i () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1389673, was opened at 2005-12-24 19:27
Message generated for change (Comment added) made by birkenfeld
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: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect 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.

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

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-12-27 00:56

Message:
Logged In: YES 
user_id=1188172

Thanks, applied the patch in rev. 41827/41828.

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

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic