'isa' keyword
Rocco Moretti
roccomoretti at hotpop.com
Fri Sep 2 10:24:08 EDT 2005
Terry Hancock wrote:
> On Thursday 01 September 2005 07:28 am, Fuzzyman wrote:
>
>>What's the difference between this and ``isinstance`` ?
>
> I must confess that an "isa" operator sounds like it would
> have been slightly nicer syntax than the isinstance() built-in
> function. But not enough nicer to change, IMHO.
Especially conidering that checking parameters with "isinstance" is
considered bad form with Python's duck typing.
More information about the Python-list
mailing list