mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Fix: is_class() on Instance was not implemented.
This commit is contained in:
@@ -101,6 +101,9 @@ class Instance(use_metaclass(CachedMetaClass, Executed)):
|
||||
else:
|
||||
evaluator.execute(method, self.var_args)
|
||||
|
||||
def is_class(self):
|
||||
return False
|
||||
|
||||
@property
|
||||
def py__call__(self):
|
||||
def actual(params):
|
||||
|
||||
@@ -83,3 +83,10 @@ class Test():
|
||||
self.testing
|
||||
#? Test()
|
||||
self
|
||||
|
||||
# -----------------
|
||||
# Syntax
|
||||
# -----------------
|
||||
|
||||
#?
|
||||
isinstance(1, int())
|
||||
|
||||
Reference in New Issue
Block a user