From: Georg Brandl Date: Fri, 8 Jul 2005 21:36:42 +0000 (+0000) Subject: backport bug [ 969757 ] function and method objects confounded in Tutorial X-Git-Tag: v2.4.2c1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7f086f5d99ac18565afccfb90df1ba973ed44fa;p=thirdparty%2FPython%2Fcpython.git backport bug [ 969757 ] function and method objects confounded in Tutorial --- 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