Looks like a good starting point. Note the convenience of isinstance(x, (t1, t2, t3)). > BuiltinFunctionType ??? > BuiltinMethodType ??? > ClassType ??? > CodeType ??? > DictProxyType ??? > FrameType ??? > FunctionType, LambdaType ??? > GeneratorType ??? > InstanceType ??? > MethodType, UnboundMethodType ??? > ModuleType ??? > TracebackType ??? None of these will be greatly missed except by introspective code. Hm, I wonder if inspect would be the right module to export these types? Or maybe one should simply be encouraged to use inspect.ismodule() etc.? (The type names are still somewhat useful because they can be used as keys for dispatch tables.) --Guido van Rossum (home page: http://www.python.org/~guido/)
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