Don't you think that the "explicit is better than implicit" in import this
gives you some help?

I'd stick with the self.location



On 4/23/07, Kris Schnee <[EMAIL PROTECTED]> wrote:

A trivial question that's bugging me:

A Widget object currently has a variable called "location," which is a
Pygame.Rect object. It _is_ a Rect, but what it _means_ is the Widget's
location. Is it better to call it "self.location" or "self.rect"?

Even typing "import this" at the IDLE console gives no clear insight.

Kris

Reply via email to