[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.142,1.143
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Sat, 05 Jul 2003 10:38:01 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv9545/Doc/lib
Modified Files:
libfuncs.tex
Log Message:
Fix SF bug #766288, property() example gives syntax error
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.142
retrieving revision 1.143
diff -C2 -d -r1.142 -r1.143
*** libfuncs.tex 2 Jul 2003 15:31:54 -0000 1.142
--- libfuncs.tex 5 Jul 2003 17:37:58 -0000 1.143
***************
*** 748,752 ****
def setx(self, value): self.__x = value
def delx(self): del self.__x
! x = property(getx, setx, delx, "I'm the 'x' property.")
\end{verbatim}
--- 748,752 ----
def setx(self, value): self.__x = value
def delx(self): del self.__x
! x = property(getx, setx, delx, "I'm the 'x' property.")
\end{verbatim}