[Python-Dev] Re: PEP 285: Adding a bool type

Fred L. Drake, Jr. fdrake@acm.org
Wed, 3 Apr 2002 13:29:55 -0500


Fredrik Lundh writes:
 > (Python docs tend to use "true" to mean anything which isn't
 > "false", and where operator.truth returns the right thing. this
 > won't change post-PEP -- if you start interpreting "return true" as
 > "return True", you'll be asking for trouble)
That's right, but see my other note: Guido would like things like
this to say "return True", which is different.
 -Fred
-- 
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation

AltStyle によって変換されたページ (->オリジナル) /