forked from VimPlug/jedi
Use types instead of special objects (see also #988)
This commit is contained in:
@@ -576,9 +576,9 @@ def _a_generator(foo):
|
||||
|
||||
|
||||
_SPECIAL_OBJECTS = {
|
||||
'FUNCTION_CLASS': type(load_module),
|
||||
'FUNCTION_CLASS': types.FunctionType,
|
||||
'METHOD_CLASS': type(CompiledObject.is_class),
|
||||
'MODULE_CLASS': type(os),
|
||||
'MODULE_CLASS': types.ModuleType,
|
||||
'GENERATOR_OBJECT': _a_generator(1.0),
|
||||
'BUILTINS': _builtins,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user