From: Neal Norwitz Date: Sat, 5 Jul 2003 17:38:25 +0000 (+0000) Subject: Fix SF bug #766288, property() example gives syntax error X-Git-Tag: 2.2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=708b06887b514f92385dc784302c592aaf7b3754;p=thirdparty%2FPython%2Fcpython.git Fix SF bug #766288, property() example gives syntax error --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 22354ae2f550..54ac465deadb 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -684,7 +684,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}