[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.100.4.16,1.100.4.17

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
2003年7月05日 10:38:28 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv9642/Doc/lib
Modified Files:
 Tag: release22-maint
	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.100.4.16
retrieving revision 1.100.4.17
diff -C2 -d -r1.100.4.16 -r1.100.4.17
*** libfuncs.tex	16 May 2003 03:08:34 -0000	1.100.4.16
--- libfuncs.tex	5 Jul 2003 17:38:25 -0000	1.100.4.17
***************
*** 685,689 ****
 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}
 
--- 685,689 ----
 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}
 

AltStyle によって変換されたページ (->オリジナル) /