Fix: is_class() on Instance was not implemented.

This commit is contained in:
Dave Halter
2015-12-15 16:44:28 +01:00
parent ab91cfa3b5
commit 3d79d0994e
2 changed files with 10 additions and 0 deletions

View File

@@ -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):

View File

@@ -83,3 +83,10 @@ class Test():
self.testing
#? Test()
self
# -----------------
# Syntax
# -----------------
#?
isinstance(1, int())