>> Even though, it would be the same as issubclass() (though I'd like an AND
>> relationship with the tuple of ABCs..)
>
> When "hasinterface" ANDs the tuple, it's already different, isn't it?
>
If it's AND, shouldn't it be "hasinterfaces" (notice the s!)?
One could also imagine that
On Thu, Oct 18, 2018 at 10:12 AM, Sven R. Kunze wrote:
> On 18.10.18 18:49, Anders Hovmöller wrote:
>
>> If it's AND, shouldn't it be "hasinterfaces" (notice the s!)?
>
>
yeah, that would make sense.
Is someone proposing something here? The point I was making, is in the case
of ABCs:
> Does AND even make sense for isinstance/issubclass?
Why wouldn't it? Python supports multiple inheritance.
/ Anders
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: