From a14bb7e1132377af60910402f1a9e4796297f5df Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 28 Apr 2020 00:02:41 +0200 Subject: [PATCH] patch 8.2.0654: building with Python fails Problem: Building with Python fails. Solution: Add missing argument. --- src/if_py_both.h | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/if_py_both.h b/src/if_py_both.h index 5a878bd2bd..d6a5b11a5d 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2934,7 +2934,7 @@ FunctionNew(PyTypeObject *subtype, char_u *name, int argc, typval_T *argv, 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); diff --git a/src/version.c b/src/version.c index 9bee5136b1..b99f9bedda 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 654, /**/ 653, /**/ -- 2.47.3