summaryrefslogtreecommitdiff
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-22 14:58:47 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-22 14:58:47 +0200
commit7a3fe3e180bdbce8f193abdf399559c5154bdaae (patch)
tree842eac4734c81db7a49ddaaf20b4fea732bb8162 /src/if_py_both.h
parenta74901929e999a0052c1ce388ab09359c10cbb0d (diff)
downloadvim-git-7a3fe3e180bdbce8f193abdf399559c5154bdaae.tar.gz
patch 8.2.3200: Vim9: hard to guess where a type error is givenv8.2.3200
Problem: Vim9: hard to guess where a type error is given. Solution: Add the function name where possible. (closes #8608)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 7f38e175b..6d71ac1a2 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -2043,7 +2043,7 @@ DictionaryUpdate(DictionaryObject *self, PyObject *args, PyObject *kwargs)
return NULL;
VimTryStart();
- dict_extend(self->dict, tv.vval.v_dict, (char_u *) "force");
+ dict_extend(self->dict, tv.vval.v_dict, (char_u *) "force", NULL);
clear_tv(&tv);
if (VimTryEnd())
return NULL;