isinstance() and multiple inheritance/ctypes

Chris Angelico rosuav at gmail.com
Thu Aug 27 01:14:03 CEST 2015


On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico <rosuav at gmail.com> wrote:
> Or is there a magic __isinstance__

Argh, keyed the wrong thing and sent the post prematurely. Meant to say:

Or is there a magic __instancecheck__ method somewhere that I'm not aware of?

ChrisA


More information about the Python-list mailing list