From c9efc15ea0a34825398f3e9b8ac16b6b85eb73fb Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 5 Jan 2014 23:54:38 +0100 Subject: [PATCH] delete unused check_arr_index function --- jedi/helpers.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jedi/helpers.py b/jedi/helpers.py index c1b8935c..b80d7208 100644 --- a/jedi/helpers.py +++ b/jedi/helpers.py @@ -62,14 +62,6 @@ def fast_parent_copy(obj): return recursion(obj) -def check_arr_index(arr, pos): - positions = arr.arr_el_pos - for index, comma_pos in enumerate(positions): - if pos < comma_pos: - return index - return len(positions) - - def array_for_pos(stmt, pos, array_types=None): """Searches for the array and position of a tuple""" def search_array(arr, pos):