mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
effbot caught a typo!
This commit is contained in:
parent
573b54125d
commit
83ad5015cb
1 changed files with 3 additions and 3 deletions
|
@ -954,11 +954,11 @@ class C:
|
||||||
|
|
||||||
c = C()
|
c = C()
|
||||||
d = C()
|
d = C()
|
||||||
c.meth.whoami = 'my name is c'
|
c.method.whoami = 'my name is c'
|
||||||
d.meth.whoami = 'my name is d'
|
d.method.whoami = 'my name is d'
|
||||||
\end{verbatim}
|
\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''.
|
would return ``my name is d''.
|
||||||
|
|
||||||
See the \citetitle[../ref/ref.html]{Python Reference Manual} for more
|
See the \citetitle[../ref/ref.html]{Python Reference Manual} for more
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue