At 03:48 PM 11/22/2007 +1300, Greg Ewing wrote: >Phillip J. Eby wrote: > > The lookup sequence should probably be something like: > > > > 1. type(ob) is cls > > 2. issubclass(type(ob), cls) > >But can't issubclass be overridden as well? Yes, which is why I spelled it that way, and mentioned that 'issubclass()' should check class identity and __mro__ before falling through to the special method check.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4