Fix rest warnings.

This commit is contained in:
Guido van Rossum 2007-04-19 00:33:02 +00:00
parent fc4f448947
commit 7191aa5254
1 changed files with 5 additions and 5 deletions

View File

@ -307,10 +307,10 @@ These abstract classes represent various stages of "set-ness".
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 @@ These abstract classes represent various stages of sequence-ness.
``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