This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Incorrect docs for return values of set update methods
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: collinwinter, georg.brandl
Priority: normal Keywords:

Created on 2005-12-24 18:27 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
libstdtypes.tex.diff collinwinter, 2005-12-24 18:27 Patch against Doc/lib/libstdtypes.tex, r41806
Messages (2)
msg27141 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2005-12-24 18:27
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.
msg27142 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-12-26 23:56
Logged In: YES 
user_id=1188172

Thanks, applied the patch in rev. 41827/41828.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42725
2005-12-24 18:27:06collinwintercreate