[Python-checkins] python/dist/src/Doc/tut tut.tex, 1.261.2.9, 1.261.2.10
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Fri Jul 8 23:36:44 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11018/Doc/tut
Modified Files:
Tag: release24-maint
tut.tex
Log Message:
backport bug [ 969757 ] function and method objects confounded in Tutorial
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.261.2.9
retrieving revision 1.261.2.10
diff -u -d -r1.261.2.9 -r1.261.2.10
--- tut.tex 28 Jun 2005 00:18:10 -0000 1.261.2.9
+++ tut.tex 8 Jul 2005 21:36:42 -0000 1.261.2.10
@@ -3888,7 +3888,7 @@
\end{verbatim}
then \code{MyClass.i} and \code{MyClass.f} are valid attribute
-references, returning an integer and a method object, respectively.
+references, returning an integer and a function object, respectively.
Class attributes can also be assigned to, so you can change the value
of \code{MyClass.i} by assignment. \member{__doc__} is also a valid
attribute, returning the docstring belonging to the class: \code{"A
More information about the Python-checkins
mailing list