summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-04 18:24:41 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-04 18:24:41 (GMT)
commit73835bd5e9ef03105a790770cb74e88b3b4d4150 (patch)
tree79c835ea22c2d0dee7005e2f6e5c0bac2b0d2323
parenta47b75b0a0e2fc7ee396bb317cd601ecec96f923 (diff)
downloadcpython-73835bd5e9ef03105a790770cb74e88b3b4d4150.zip
cpython-73835bd5e9ef03105a790770cb74e88b3b4d4150.tar.gz
cpython-73835bd5e9ef03105a790770cb74e88b3b4d4150.tar.bz2
Fix markup
-rw-r--r--Doc/whatsnew/2.6.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 54be1e1..fee298d 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -503,10 +503,12 @@ assert isinstance([], AppendableSequence)
@abstractmethod decorator -- you can't instantiate classes w/
an abstract method.
-@abstractproperty decorator
-@abstractproperty
-def readonly(self):
- return self._x
+::
+
+ @abstractproperty decorator
+ @abstractproperty
+ def readonly(self):
+ return self._x
.. seealso::
@@ -1163,7 +1165,7 @@ This section lists previously described changes, and a few
esoteric bugfixes, that may require changes to your
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
before adding elements from the iterable. This change makes the
behavior match that of ``list.__init__()``.