Fix an issue with magic methods on classes. Fixes #461.
This commit is contained in:
1 parent
647a4db326
commit
6440e33512
3 files changed
+26
-2
No files matched your search
@@ -476,6 +476,7 @@ def _a_generator(foo):
|
||||
|
||||
_SPECIAL_OBJECTS = {
|
||||
'FUNCTION_CLASS': type(load_module),
|
||||
'METHOD_CLASS': type(CompiledObject.is_class),
|
||||
'MODULE_CLASS': type(os),
|
||||
'GENERATOR_OBJECT': _a_generator(1.0),
|
||||
'BUILTINS': _builtins,
|
||||
|
||||
Reference in new issue
Block a user