On Sunday 08 June 2003 11:37 am, Gerrit Holl wrote: ... > if issubclass(typ, dict) and type(typ.__repr__) is type(dict.__repr__): > # do stuff Aren't the calls to type() here wrong? It seems to me that what you want to check is just whether typ.__repr__ is dict.__repr__, not if the types of the two bound methods are the same. Alex
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