[FRPythoneers] Python documentation and default expression

Evelyn Mitchell efm at tummy.com
Fri Mar 15 15:19:19 MST 2002


* On 2002-03-15 22:15 Mike Olson <Mike.Olson at fourthought.com> wrote:
> On Fri, 2002-03-15 at 14:39, Rob Riggs wrote:
> > Where do I find Pythons rules for the default tests on a variable? I.e., 
> > when I have an expressions like:
> > 
> >     if foo: ...
> > 
> > what are the tests on "foo" that are performed? Is this documented in 
> > the language reference anywhere?
> 
> http://www.python.org/doc/current/lib/truth.html

Why would this be in the library reference and not the language reference?
(Not that you'd know Mike, but just asking.)


-- 
Regards,                    tummy.com, ltd 
Evelyn Mitchell             Linux Consulting since 1995
efm at tummy.com               Senior System and Network Administrators
                            http://www.tummy.com/



More information about the FRPythoneers mailing list