1
0
forked from VimPlug/jedi

Remove special objects, they are no longer needed

This commit is contained in:
Dave Halter
2019-05-19 14:28:39 +02:00
parent 1b668966ce
commit 4b2518ca9a
3 changed files with 0 additions and 20 deletions

View File

@@ -438,12 +438,3 @@ def _is_class_instance(obj):
return False
else:
return cls != type and not issubclass(cls, NOT_CLASS_TYPES)
class _SPECIAL_OBJECTS(object):
BOUND_METHOD_CLASS = type(DirectObjectAccess(None, None).py__bool__)
def get_special_object(evaluator, identifier):
obj = getattr(_SPECIAL_OBJECTS, identifier)
return create_access_path(evaluator, obj)