1
0
forked from VimPlug/jedi

possible direction of branch checks for name resolution.

This commit is contained in:
Dave Halter
2014-08-10 13:17:37 +02:00
parent 483f5c14ee
commit f1711f8f9c
7 changed files with 45 additions and 9 deletions

View File

@@ -123,6 +123,9 @@ class Array(use_metaclass(CachedMetaClass, pr.Base)):
self._evaluator = evaluator
self._array = array
def py__bool__(self):
return None # We don't know the length, because of appends.
@memoize_default(NO_DEFAULT)
def get_index_types(self, index_array=()):
"""