diff --git a/parsing.py b/parsing.py index 7ef3871b..a567c8d1 100644 --- a/parsing.py +++ b/parsing.py @@ -813,7 +813,7 @@ class Array(Call): def __repr__(self): if self.type == self.NOARRAY: - temp = 'empty' + temp = 'noarray' elif self.type == self.TUPLE: temp = 'tuple' elif self.type == self.LIST: diff --git a/test/completion/arrays.py b/test/completion/arrays.py index 9518cf89..5e2e2ee1 100644 --- a/test/completion/arrays.py +++ b/test/completion/arrays.py @@ -15,3 +15,9 @@ a1, b1 = (1, "") a1.real #? ['lower'] b1.lower + +(a2, b2) = (1, "") +#? ['imag'] +a2.imag +#? ['upper'] +b2.upper