[Python-checkins] CVS: python/nondist/peps pep-0203.txt,1.9,1.10
Thomas Wouters
python-dev@python.org
Wed, 23 Aug 2000 05:34:05 -0700
Update of /cvsroot/python/python/nondist/peps
In directory slayer.i.sourceforge.net:/tmp/cvs-serv17711
Modified Files:
pep-0203.txt
Log Message:
Fix typo found by Peter Funk. Thanx, Peter!
(Of course, I put it there on purpose, just to see if anyone was paying
attention. Really! :)
Index: pep-0203.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0203.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** pep-0203.txt 2000/08/23 11:32:01 1.9
--- pep-0203.txt 2000/08/23 12:34:02 1.10
***************
*** 68,72 ****
There is no `right-hand-side' variant of __iadd__, because that
would require for `y' to know how to in-place modify `x', which is
! unsafe to say the least. The __add__ hook should behave similar
to __add__, returning the result of the operation (which could be
`self') which is to be stored in the variable `x'.
--- 68,72 ----
There is no `right-hand-side' variant of __iadd__, because that
would require for `y' to know how to in-place modify `x', which is
! unsafe to say the least. The __iadd__ hook should behave similar
to __add__, returning the result of the operation (which could be
`self') which is to be stored in the variable `x'.