mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 13:59:37 +08:00
Fix issue https://github.com/DamnWidget/anaconda/issues/449. Using self should not cause side effects in completion.
This commit is contained in:
@@ -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 == ':':
|
||||
|
||||
Reference in New Issue
Block a user