New submission from Gabriel Genellina <gagsl-...@yahoo.com.ar>: 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 ---------- assignee: georg.brandl components: Documentation files: operator.diff keywords: patch messages: 94878 nosy: gagenellina, georg.brandl severity: normal status: open title: Documentation update for operator module versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file15255/operator.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com