Issue7259
Created on 2009-11-04 05:23 by gagenellina, last changed 2009-11-04 07:38 by georg.brandl.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
operator.diff
|
gagenellina,
2009-11-04 05:23
|
|
|
|
|
msg94878 - (view) |
Author: Gabriel Genellina (gagenellina) |
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) |
Date: 2009-11-04 07:38 |
|
Thanks, applied in r76105.
|
|
| Date |
User |
Action |
Args |
| 2009-11-04 07:38:24 | georg.brandl | set | status: open -> closed resolution: fixed messages:
+ msg94882
|
| 2009-11-04 05:23:37 | gagenellina | create | |
|