mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-05 01:04:16 +08:00
array indexing works now also with variables
This commit is contained in:
@@ -830,7 +830,8 @@ class Array(Call):
|
||||
DICT = 'dict'
|
||||
SET = 'set'
|
||||
|
||||
def __init__(self, arr_type, parent_stmt=None, parent=None, values=None):
|
||||
def __init__(self, arr_type=NOARRAY, parent_stmt=None, parent=None,
|
||||
values=None):
|
||||
super(Array, self).__init__(None, arr_type, parent_stmt, parent)
|
||||
|
||||
self.values = values if values else []
|
||||
|
||||
Reference in New Issue
Block a user