diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst index 9461aa5dc2e..d591daa387d 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