Commit 16e36b0d authored by Andreas Jung's avatar Andreas Jung

Collector #771: ClassTypes was not initialized

parent f4601e00
......@@ -44,7 +44,7 @@ except:
if hasattr(ob, '__call__'):
return 1
else:
return type(ob) in ClassTypes
return type(ob) in [types.ClassType]
else:
return callable(ob)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment