bug [ 969757 ] function and method objects confounded in Tutorial

This commit is contained in:
Georg Brandl 2005-07-08 21:36:36 +00:00
parent 6d394d9b68
commit 8b687cf683

View 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