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: Documentation update for operator module
Type: Stage:
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, ggenellina
Priority: normal Keywords: patch

Created on 2009-11-04 05:23 by ggenellina, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
operator.diff ggenellina, 2009-11-04 05:23
Messages (2)
msg94878 - (view) Author: Gabriel Genellina (ggenellina) Date: 2009-11-04 05:23
This patch fixes some issues with the documentation of the operator 
module:

- docstrings for all augmented assignments incorrectly stated, e.g., 
`operator.iadd(a,b)` is the same as `a += b`. The main documentation 
shows `a = operator.iadd(a,b)` instead, and that's correct. This patch 
updates all affected docstrings in the operator.c module.

- Added +obj to the table of operators.

- Replaced getslice/setslice/delslice examples (deprecated) with their 
getitem/setitem/delitem equivalents. This change unfortunately made the 
table some characters wider.

Originally reported by Juanjo Conti:
http://permalink.gmane.org/gmane.org.user-groups.python.argentina/28596
msg94882 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-11-04 07:38
Thanks, applied in r76105.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51508
2009-11-04 07:38:24georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg94882
2009-11-04 05:23:37ggenellinacreate