Mercurial > vim
diff src/if_py_both.h @ 20197:7e84afe0831e v8.2.0654
patch 8.2.0654: building with Python fails
Commit: https://github.com/vim/vim/commit/a14bb7e1132377af60910402f1a9e4796297f5df
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 28 00:02:41 2020 +0200
patch 8.2.0654: building with Python fails
Problem: Building with Python fails.
Solution: Add missing argument.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Apr 2020 00:15:03 +0200 |
parents | aadd1cae2ff5 |
children | 6e1e4d7a7b39 |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2934,7 +2934,7 @@ FunctionNew(PyTypeObject *subtype, char_ if (isdigit(*name)) { - if (!translated_function_exists(name)) + if (!translated_function_exists(name, FALSE)) { PyErr_FORMAT(PyExc_ValueError, N_("unnamed function %s does not exist"), name);