1
0
forked from VimPlug/jedi

removed vim exceptions

This commit is contained in:
David Halter
2012-06-27 20:41:38 +02:00
parent 19a5d788c4
commit 2e2e360567
3 changed files with 6 additions and 5 deletions

View File

@@ -661,7 +661,7 @@ class Generator(object):
return self.func.parent
#self.execution.get_return_types()
def get_index_types(self, index):
def get_index_types(self, index=None):
# TODO check if this method is right here, this means that Generators
# can be indexed, which is not the Python way.
return Execution(self.func).get_return_types(True)