On Jun 20, 2007, at 2:26 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:

> Ah...I see.  VFP thinking going on here.  I thought that
> ret = self._saveNewUnchanged = False
> Was in effect  ret = (self._saveNewUnchanged = False) ...a logical
> evaluation that was getting passed to ret.
>
> In the words of the late, great Rosanne Rossanadanna..."Never mind..."

        OK, I see what you were thinking. Yeah, this is a cool Python idiom  
that we use a lot, especially in properties to handle default values.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to