diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:37:58 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:37:58 +0000 |
commit | b25229d823e5d2cdd2a398dad157becff7bcda1e (patch) | |
tree | b6ab23e49defc00bd2fe522ca6246136c11fedf8 | |
parent | be56aae36adb029a99c91aa92e0bf54a92815d6a (diff) | |
download | cpython-git-b25229d823e5d2cdd2a398dad157becff7bcda1e.tar.gz |
Fix SF bug #766288, property() example gives syntax error
-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 6b61d36249..b9dc4e1b57 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} |