Fix SF bug #766288, property() example gives syntax error

This commit is contained in:
Neal Norwitz 2003-07-05 17:37:58 +00:00
parent be56aae36a
commit b25229d823

View file

@ -747,7 +747,7 @@ class C(object):
def getx(self): return self.__x
def setx(self, value): self.__x = value
def delx(self): del self.__x
x = property(getx, setx, delx, "I'm the 'x' property.")
x = property(getx, setx, delx, "I'm the 'x' property.")
\end{verbatim}
\versionadded{2.2}