1
0
forked from VimPlug/jedi

Try to introduce is_instance and is_function

This commit is contained in:
Dave Halter
2018-09-24 00:09:40 +02:00
parent 2ec4d1e426
commit cc493866cd
6 changed files with 20 additions and 14 deletions

View File

@@ -132,6 +132,12 @@ class Context(HelperContextMixin, BaseContext):
def is_class(self):
return False
def is_instance(self):
return False
def is_function(self):
return False
def py__bool__(self):
"""
Since Wrapper is a super class for classes, functions and modules,