[Bf-python] Attribute casing

Stephen Swaney sswaney at centurytel.net
Fri Aug 26 16:17:09 CEST 2005


On Fri, Aug 26, 2005 at 09:12:53AM -0400, Joseph Gilbert wrote:
> Yehoshua Sapir wrote:
> 
> >>Obj.attriubte = TRUE  (or)
> >
> >I'd like to note that Python already has a 'True' built-in.
> > 
> >
> Hehe good point Yehoshua. It was just a way for testing and returning 1 
> or 0 (which is what a lot of our functions were throwing and taking). 
> It's probably better to be using 'True' and 'False' for booleans! :)

Actually, I believe it is more correct to say "Python *now* has a
'True' built-in".  And yeah, we should use it.

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-python mailing list