BoÅ¡tjan Mejak <[email protected]> added the comment:

>
> Caution: within a method of C, an assignment like ``self.count = 42``
> creates a new and unrelated instance named "count" in ``self``'s own dict.

More clear is to say *Caution: within a method of class C, an assignment
like ``self.count = 42`` creates a new and unrelated instance named "count"
in ``self``'s own dict.*
*
*

----------
Added file: http://bugs.python.org/file20888/unnamed

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11318>
_______________________________________
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; 
margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; 
border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 
1ex; ">
<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(32, 
32, 32); font-family: &#39;Droid Sans&#39;, arial, sans-serif; font-size: 13px; 
">Caution: within a method of C, an assignment like ``self.count = 42`` creates 
a new and unrelated instance named &quot;count&quot; in ``self``&#39;s own 
dict.</span></blockquote>
<div><br></div><div>More clear is to say <span class="Apple-style-span" 
style="border-collapse: collapse; color: rgb(32, 32, 32); font-family: 
&#39;Droid Sans&#39;, arial, sans-serif; font-size: 13px; "><i>Caution: within 
a method of class C, an assignment like ``self.count = 42`` creates a new and 
unrelated instance named &quot;count&quot; in ``self``&#39;s own 
dict.</i></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: 
rgb(32, 32, 32); font-family: &#39;Droid Sans&#39;, arial, sans-serif; 
font-size: 13px; "><i><br></i></span></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to