From: Georg Brandl Date: Fri, 8 Jul 2005 21:36:36 +0000 (+0000) Subject: bug [ 969757 ] function and method objects confounded in Tutorial X-Git-Tag: v2.5a0~1605 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b687cf6839164c552b074c15a26a65a879a3cfc;p=python bug [ 969757 ] function and method objects confounded in Tutorial --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 052e9d3e7e..cc14862d37 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3888,7 +3888,7 @@ class MyClass: \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