fixed set-completion related bug

This commit is contained in:
David Halter
2012-08-23 02:17:48 +02:00
parent cfba8216c9
commit 09e9a85382
2 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ def search_params(param):
def check_array_additions(array): def check_array_additions(array):
""" Just a mapper function for the internal _check_array_additions """ """ Just a mapper function for the internal _check_array_additions """
if array._array.type not in ['list', 'tuple']: if array._array.type not in ['list', 'set']:
# TODO also check for dict updates # TODO also check for dict updates
return [] return []

View File

@@ -196,13 +196,13 @@ arr2.append('')
arr2[0] arr2[0]
st = {} st = {1.0}
st.add(1) st.add(1)
lst = list(st) lst = list(st)
lst.append('') lst.append('')
#? int() str() #? float() int() str()
lst[0] lst[0]
lst = [1] lst = [1]