mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04: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
@@ -2050,7 +2050,7 @@ get_lval_subscript(
|
||||
var2.v_type = VAR_UNKNOWN;
|
||||
}
|
||||
|
||||
if (lp->ll_tuple != NULL)
|
||||
if (lp->ll_tuple != NULL && (flags & GLV_READ_ONLY) == 0)
|
||||
{
|
||||
if (!quiet)
|
||||
emsg(_(e_tuple_is_immutable));
|
||||
|
Reference in New Issue
Block a user