[Python-checkins] r59722 - python/trunk/Doc/whatsnew/2.6.rst

andrew.kuchling python-checkins at python.org
Fri Jan 4 19:24:42 CET 2008


Author: andrew.kuchling
Date: Fri Jan  4 19:24:41 2008
New Revision: 59722

Modified:
   python/trunk/Doc/whatsnew/2.6.rst
Log:
Fix markup

Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Fri Jan  4 19:24:41 2008
@@ -503,10 +503,12 @@
 @abstractmethod decorator -- you can't instantiate classes w/
 an abstract method.
 
- at abstractproperty decorator
- at abstractproperty
-def readonly(self):
-   return self._x
+::
+
+    @abstractproperty decorator
+    @abstractproperty
+    def readonly(self):
+       return self._x
 
 
 .. seealso::
@@ -1163,7 +1165,7 @@
 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__()``.  


More information about the Python-checkins mailing list