forked from VimPlug/jedi
Fix: is_class() on Instance was not implemented.
This commit is contained in:
@@ -101,6 +101,9 @@ class Instance(use_metaclass(CachedMetaClass, Executed)):
|
|||||||
else:
|
else:
|
||||||
evaluator.execute(method, self.var_args)
|
evaluator.execute(method, self.var_args)
|
||||||
|
|
||||||
|
def is_class(self):
|
||||||
|
return False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def py__call__(self):
|
def py__call__(self):
|
||||||
def actual(params):
|
def actual(params):
|
||||||
|
|||||||
@@ -83,3 +83,10 @@ class Test():
|
|||||||
self.testing
|
self.testing
|
||||||
#? Test()
|
#? Test()
|
||||||
self
|
self
|
||||||
|
|
||||||
|
# -----------------
|
||||||
|
# Syntax
|
||||||
|
# -----------------
|
||||||
|
|
||||||
|
#?
|
||||||
|
isinstance(1, int())
|
||||||
|
|||||||
Reference in New Issue
Block a user