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

index 052e9d3e7ea4c9ec8120730aaeaaf8d22249a4c0..cc14862d37a460348b270a05b9068c2f296de759 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