diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:38:25 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-07-05 17:38:25 (GMT) |
commit | 708b06887b514f92385dc784302c592aaf7b3754 (patch) | |
tree | 001e36d4a4707ecaf4fdedf2ae7f9786b6baedb6 | |
parent | 0a6f7dac39f3c478ba26be147ba8c3913e3fc8dc (diff) | |
download | cpython-708b06887b514f92385dc784302c592aaf7b3754.zip cpython-708b06887b514f92385dc784302c592aaf7b3754.tar.gz cpython-708b06887b514f92385dc784302c592aaf7b3754.tar.bz2 |
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 22354ae..54ac465 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} |