Dumb*ss newbie Q

Captain Dondo yan at NsOeSiPnAeMr.com
Mon Mar 28 03:33:30 CEST 2005

On Mon, 28 Mar 2005 01:15:34 +0000, Jp Calderone wrote:
>      Notice that you have a method named "url" as well as an attribute
>      named "url".  You have the same problem for "thumb".  These methods
>      and attributes are in collision with each other.  When you try to
>      look up the attribute, you might get the method.  When you try to
>      look up the method, you might get the attribute.  It is
>      deterministic, but depends on the order in which you do things, and
>      highly confusing no matter what.  Avoid naming attributes and
>      methods the same thing.


works like a charm....



use munged address above to email me
SpamTrap DoMeNow at seiner.com 

More information about the Python-list mailing list