diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:37:58 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:37:58 (GMT) |
commit | b25229d823e5d2cdd2a398dad157becff7bcda1e (patch) | |
tree | b6ab23e49defc00bd2fe522ca6246136c11fedf8 /Doc/lib/libfuncs.tex | |
parent | be56aae36adb029a99c91aa92e0bf54a92815d6a (diff) | |
download | cpython-b25229d823e5d2cdd2a398dad157becff7bcda1e.zip cpython-b25229d823e5d2cdd2a398dad157becff7bcda1e.tar.gz cpython-b25229d823e5d2cdd2a398dad157becff7bcda1e.tar.bz2 |
Fix SF bug #766288, property() example gives syntax error
Diffstat (limited to 'Doc/lib/libfuncs.tex')
-rw-r--r-- | Doc/lib/libfuncs.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 6b61d36..b9dc4e1 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -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} |