'isa' keyword

Colin J. Williams cjw at sympatico.ca
Sun Sep 4 14:25:33 CEST 2005

Rocco Moretti wrote:
> 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.

Could you elaborate on that please?

Colin W.

More information about the Python-list mailing list