Fix rest warnings.
This commit is contained in:
parent
fc4f448947
commit
7191aa5254
10
pep-3119.txt
10
pep-3119.txt
|
@ -307,10 +307,10 @@ These abstract classes represent various stages of "set-ness".
|
||||||
intersection, intersection_update, __and__, __rand__, __iand__,
|
intersection, intersection_update, __and__, __rand__, __iand__,
|
||||||
difference, difference_update, __xor__, __rxor__, __ixor__,
|
difference, difference_update, __xor__, __rxor__, __ixor__,
|
||||||
symmetric_difference, symmetric_difference_update, __sub__,
|
symmetric_difference, symmetric_difference_update, __sub__,
|
||||||
__rsub__, __isub__. Note that in Python 2, a.update(b) is not
|
__rsub__, __isub__. Note that in Python 2, ``a.update(b)`` is not
|
||||||
exactly the same as a |= b, since update() takes any iterable for
|
exactly the same as ``a |= b``, since ``update()`` takes any
|
||||||
an argument, while |= requires another set; similar for the other
|
iterable for an argument, while ``|=`` requires another set;
|
||||||
operators.
|
similar for the other operators.
|
||||||
|
|
||||||
|
|
||||||
Mappings
|
Mappings
|
||||||
|
@ -404,7 +404,7 @@ These abstract classes represent various stages of sequence-ness.
|
||||||
``remove``. Note: this does not define ``sort()`` -- that is only
|
``remove``. Note: this does not define ``sort()`` -- that is only
|
||||||
required to exist on genuine ``list`` instances.
|
required to exist on genuine ``list`` instances.
|
||||||
|
|
||||||
XXX What about += and *=?
|
XXX What about ``+=`` and ``*=``?
|
||||||
|
|
||||||
|
|
||||||
ABCs for Numbers
|
ABCs for Numbers
|
||||||
|
|
Loading…
Reference in New Issue