[Python-Dev] vox populii illiterati
Barry A. Warsaw
barry@python.org
Mon, 10 Feb 2003 08:35:22 -0500
>>>>> "SP" == Samuele Pedroni <pedronis@bluewin.ch> writes:
SP> From: "holger krekel" <pyth@devel.trillke.net>
>> if obj.method() if hasattr(obj, 'method') else False:
SP> don't worry the pro-camp seems converging toward:
SP> if if hasattr(obj,'method'): obj.method() else: False:
SP> or
SP> if (if hasattr(obj,'method'): obj.method() else: False):
"Run away! Run away!"
gotta-figure-out-a-way-to-get->>-in-there-ly y'rs,
-Barry