mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.1239: if_python: no tuple data type support
Problem: if_python: no tuple data type support (after v9.1.1232) Solution: Add support for using Vim tuple in the python interface (Yegappan Lakshmanan) closes: #16964 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9d5487f6fd
commit
038be2701d
@ -8632,6 +8632,9 @@ f_islocked(typval_T *argvars, typval_T *rettv)
|
||||
else if (lv.ll_list != NULL)
|
||||
// List item.
|
||||
rettv->vval.v_number = tv_islocked(&lv.ll_li->li_tv);
|
||||
else if (lv.ll_tuple != NULL)
|
||||
// Tuple item.
|
||||
rettv->vval.v_number = tv_islocked(lv.ll_tv);
|
||||
else
|
||||
// Dictionary item.
|
||||
rettv->vval.v_number = tv_islocked(&lv.ll_di->di_tv);
|
||||
|
Reference in New Issue
Block a user