From b7f086f5d99ac18565afccfb90df1ba973ed44fa Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 8 Jul 2005 21:36:42 +0000 Subject: [PATCH] backport 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 09fd2f077e39..1a3ed7c38d2a 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 -- 2.47.3