]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport bug [ 969757 ] function and method objects confounded in Tutorial
authorGeorg Brandl <georg@python.org>
Fri, 8 Jul 2005 21:36:42 +0000 (21:36 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 8 Jul 2005 21:36:42 +0000 (21:36 +0000)
Doc/tut/tut.tex

index 09fd2f077e39f2191c01e11f224e66c9ab6a5238..1a3ed7c38d2a1a527b19fce480bc522bd53cbf21 100644 (file)
@@ -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