summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstdtypes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libstdtypes.tex')
-rw-r--r--Doc/lib/libstdtypes.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 01c4c81..6b3683a 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -954,11 +954,11 @@ class C:
c = C()
d = C()
-c.meth.whoami = 'my name is c'
-d.meth.whoami = 'my name is d'
+c.method.whoami = 'my name is c'
+d.method.whoami = 'my name is d'
\end{verbatim}
-If bound method attribute setting was allowed, \code{c.meth.whoami}
+If bound method attribute setting was allowed, \code{c.method.whoami}
would return ``my name is d''.
See the \citetitle[../ref/ref.html]{Python Reference Manual} for more