mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
fixed set-completion related bug
This commit is contained in:
@@ -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 []
|
||||||
|
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user