1
0
forked from VimPlug/jedi

Start to use NameParts only in Definition contexts.

This commit is contained in:
Dave Halter
2014-09-09 14:13:01 +02:00
parent ff7680c15f
commit 1199defabb
5 changed files with 32 additions and 15 deletions
+4
View File
@@ -128,6 +128,10 @@ class Array(use_metaclass(CachedMetaClass, IterableWrapper)):
self._evaluator = evaluator
self._array = array
@property
def name(self):
return helpers.FakeName(self._array.type, parent=self)
def py__bool__(self):
return None # We don't know the length, because of appends.