mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +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()
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue