From 8b687cf6839164c552b074c15a26a65a879a3cfc Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 8 Jul 2005 21:36:36 +0000 Subject: bug [ 969757 ] function and method objects confounded in Tutorial --- Doc/tut/tut.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 052e9d3..cc14862 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 -- cgit v0.12