mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.1075: function reference count wrong in Python code
Problem: Function reference count wrong in Python code. Solution: Use "O" instead of "N" for the arguments. (Ben Jackson, closes #4188)
This commit is contained in:
@@ -1210,7 +1210,7 @@ FinderFindSpec(PyObject *self, PyObject *args)
|
||||
if (!(paths = Vim_GetPaths(self)))
|
||||
return NULL;
|
||||
|
||||
spec = PyObject_CallFunction(py_find_spec, "sNN", fullname, paths, target);
|
||||
spec = PyObject_CallFunction(py_find_spec, "sOO", fullname, paths, target);
|
||||
|
||||
Py_DECREF(paths);
|
||||
|
||||
|
Reference in New Issue
Block a user