[Python-checkins] r54872 - peps/trunk/pep-3119.txt
guido.van.rossum
python-checkins at python.org
Thu Apr 19 02:33:06 CEST 2007
Author: guido.van.rossum
Date: Thu Apr 19 02:33:02 2007
New Revision: 54872
Modified:
peps/trunk/pep-3119.txt
Log:
Fix rest warnings.
Modified: peps/trunk/pep-3119.txt
==============================================================================
--- peps/trunk/pep-3119.txt (original)
+++ peps/trunk/pep-3119.txt Thu Apr 19 02:33:02 2007
@@ -307,10 +307,10 @@
intersection, intersection_update, __and__, __rand__, __iand__,
difference, difference_update, __xor__, __rxor__, __ixor__,
symmetric_difference, symmetric_difference_update, __sub__,
- __rsub__, __isub__. Note that in Python 2, a.update(b) is not
- exactly the same as a |= b, since update() takes any iterable for
- an argument, while |= requires another set; similar for the other
- operators.
+ __rsub__, __isub__. Note that in Python 2, ``a.update(b)`` is not
+ exactly the same as ``a |= b``, since ``update()`` takes any
+ iterable for an argument, while ``|=`` requires another set;
+ similar for the other operators.
Mappings
@@ -404,7 +404,7 @@
``remove``. Note: this does not define ``sort()`` -- that is only
required to exist on genuine ``list`` instances.
- XXX What about += and *=?
+ XXX What about ``+=`` and ``*=``?
ABCs for Numbers
More information about the Python-checkins
mailing list