summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-04 22:06:07 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-04 22:06:07 +0100
commita65bb53514a1af1ec0dc5c4831dfaef69f139a48 (patch)
treec06212eb25eddc0c30a77516287dc798471599cd /src/if_python3.c
parentd0df1aacd81000d95815bea397257d8dc0d2c72d (diff)
downloadvim-git-a65bb53514a1af1ec0dc5c4831dfaef69f139a48.tar.gz
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTALv8.2.0354
Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) Solution: Remove it, it was only for debugging.
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 6e4b81acd..2985e9c89 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -603,7 +603,6 @@ static struct
static inline void
py3__Py_DECREF(const char *filename UNUSED, int lineno UNUSED, PyObject *op)
{
- _Py_DEC_REFTOTAL;
if (--op->ob_refcnt != 0)
{
# ifdef Py_REF_DEBUG