]> granicus.if.org Git - python/commitdiff
effbot caught a typo!
authorBarry Warsaw <barry@python.org>
Mon, 15 Jan 2001 20:51:40 +0000 (20:51 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 15 Jan 2001 20:51:40 +0000 (20:51 +0000)
Doc/lib/libstdtypes.tex

index 01c4c817cb33114a4161a3ddc42e859bc1a23116..6b3683af719318639e12b0097a96e088bd0ecebb 100644 (file)
@@ -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