From: Georg Brandl Date: Tue, 31 Mar 2009 15:50:16 +0000 (+0000) Subject: #5581: fget argument of abstractproperty is optional as well. X-Git-Tag: v2.7a1~1707 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21b60afd4cd780bb436855fe8c0ee3aebb08b178;p=python #5581: fget argument of abstractproperty is optional as well. --- diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst index 9461aa5dc2..d591daa387 100644 --- a/Doc/library/abc.rst +++ b/Doc/library/abc.rst @@ -161,7 +161,7 @@ It also provides the following decorators: 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 @@ It also provides the following decorators: def setx(self, value): ... x = abstractproperty(getx, setx) + .. rubric:: Footnotes .. [#] C++ programmers should note that Python's virtual base class