Fix issue https://github.com/DamnWidget/anaconda/issues/449. Using self should not cause side effects in completion.

This commit is contained in:
Dave Halter
2016-07-06 18:31:47 +02:00
parent 3ad159b0aa
commit 4a19376187
3 changed files with 19 additions and 1 deletions
-1
View File
@@ -819,7 +819,6 @@ def create_index_types(evaluator, index):
Handles slices in subscript nodes.
"""
if tree.is_node(index, 'subscript'): # subscript is a slice operation.
start, stop, step = None, None, None
result = []
for el in index.children:
if el == ':':