summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfuncs.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-07-05 17:37:58 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-07-05 17:37:58 (GMT)
commitb25229d823e5d2cdd2a398dad157becff7bcda1e (patch)
treeb6ab23e49defc00bd2fe522ca6246136c11fedf8 /Doc/lib/libfuncs.tex
parentbe56aae36adb029a99c91aa92e0bf54a92815d6a (diff)
downloadcpython-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.tex2
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}