summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-08 21:36:36 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-08 21:36:36 (GMT)
commit8b687cf6839164c552b074c15a26a65a879a3cfc (patch)
tree15b697278f098f451b5d1273226d28ba559456b7 /Doc
parent6d394d9b6875a750cc57283a6e205fbdbd0cb5de (diff)
downloadcpython-8b687cf6839164c552b074c15a26a65a879a3cfc.zip
cpython-8b687cf6839164c552b074c15a26a65a879a3cfc.tar.gz
cpython-8b687cf6839164c552b074c15a26a65a879a3cfc.tar.bz2
bug [ 969757 ] function and method objects confounded in Tutorial
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 052e9d3..cc14862 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