Kaydet (Commit) 73835bd5 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix markup

üst a47b75b0
...@@ -503,10 +503,12 @@ assert isinstance([], AppendableSequence) ...@@ -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 ...@@ -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__()``.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment