Accepted, but also added a note about a misfeature that should be
fixed.
This commit is contained in:
parent
4f8df0f031
commit
bdfc5f2d12
|
@ -2,7 +2,7 @@ PEP: 203
|
|||
Title: Augmented Assignments
|
||||
Version: $Revision$
|
||||
Author: thomas@xs4all.net (Thomas Wouters)
|
||||
Status: Draft
|
||||
Status: Accepted
|
||||
Type: Standards Track
|
||||
Python-Version: 2.0
|
||||
Created: 13-Jul-2000
|
||||
|
@ -79,6 +79,9 @@ Proposed semantics
|
|||
object or a new one. So if the original object is returned, it
|
||||
should be INCREF()'d appropriately.
|
||||
|
||||
[XXX so I am accepting this, but I'm a bit worried about the
|
||||
argument coercion. For x+=y, if x supports augmented assignment,
|
||||
y should only be cast to x's type, not the other way around!]
|
||||
|
||||
Rationale
|
||||
|
||||
|
|
Loading…
Reference in New Issue