Fix markup
This commit is contained in:
parent
a47b75b0a0
commit
73835bd5e9
|
@ -503,10 +503,12 @@ assert isinstance([], AppendableSequence)
|
||||||
@abstractmethod decorator -- you can't instantiate classes w/
|
@abstractmethod decorator -- you can't instantiate classes w/
|
||||||
an abstract method.
|
an abstract method.
|
||||||
|
|
||||||
@abstractproperty decorator
|
::
|
||||||
@abstractproperty
|
|
||||||
def readonly(self):
|
@abstractproperty decorator
|
||||||
return self._x
|
@abstractproperty
|
||||||
|
def readonly(self):
|
||||||
|
return self._x
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
@ -1163,7 +1165,7 @@ This section lists previously described changes, and a few
|
||||||
esoteric bugfixes, that may require changes to your
|
esoteric bugfixes, that may require changes to your
|
||||||
code:
|
code:
|
||||||
|
|
||||||
* The :method:`__init__` method of :class:`collections.deque`
|
* The :meth:`__init__` method of :class:`collections.deque`
|
||||||
now clears any existing contents of the deque
|
now clears any existing contents of the deque
|
||||||
before adding elements from the iterable. This change makes the
|
before adding elements from the iterable. This change makes the
|
||||||
behavior match that of ``list.__init__()``.
|
behavior match that of ``list.__init__()``.
|
||||||
|
|
Loading…
Reference in New Issue