[Python-checkins] r70828 - python/trunk/Doc/library/abc.rst
georg.brandl
python-checkins at python.org
Tue Mar 31 17:50:16 CEST 2009
Author: georg.brandl
Date: Tue Mar 31 17:50:16 2009
New Revision: 70828
Log:
#5581: fget argument of abstractproperty is optional as well.
Modified:
python/trunk/Doc/library/abc.rst
Modified: python/trunk/Doc/library/abc.rst
==============================================================================
--- python/trunk/Doc/library/abc.rst (original)
+++ python/trunk/Doc/library/abc.rst Tue Mar 31 17:50:16 2009
@@ -161,7 +161,7 @@
multiple-inheritance.
-.. function:: abstractproperty(fget[, fset[, fdel[, doc]]])
+.. function:: abstractproperty([fget[, fset[, fdel[, doc]]]])
A subclass of the built-in :func:`property`, indicating an abstract property.
@@ -189,6 +189,7 @@
def setx(self, value): ...
x = abstractproperty(getx, setx)
+
.. rubric:: Footnotes
.. [#] C++ programmers should note that Python's virtual base class
More information about the Python-checkins
mailing list