[Python-checkins] python/dist/src/Doc/tut tut.tex,1.274,1.275
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Fri Jul 8 23:36:39 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10989/Doc/tut
Modified Files:
tut.tex
Log Message:
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.274
retrieving revision 1.275
diff -u -d -r1.274 -r1.275
--- tut.tex 28 Jun 2005 00:16:08 -0000 1.274
+++ tut.tex 8 Jul 2005 21:36:36 -0000 1.275
@@ -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