changeset 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 a15662302a33
children b68ad1b8f3a6
files src/if_py_both.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
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);
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    654,
+/**/
     653,
 /**/
     652,