From e64faa6645377b958e7e5f6a273521063312792c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 21 May 2013 18:47:21 +0200 Subject: updated for version 7.3.993 Problem: Python: Later patch does things slightly differently. Solution: Adjusted argument type changes. (ZyX) --- src/if_python3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/if_python3.c') diff --git a/src/if_python3.c b/src/if_python3.c index 0620e0395..6a6ed7be8 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -666,7 +666,7 @@ call_PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) return PyType_GenericAlloc(type,nitems); } -static PyObject *BufferDir(PyObject *); +static PyObject *BufferDir(PyObject *, PyObject *); static PyObject *OutputGetattro(PyObject *, PyObject *); static int OutputSetattro(PyObject *, PyObject *, PyObject *); static PyObject *BufferGetattro(PyObject *, PyObject *); @@ -1091,7 +1091,7 @@ BufferGetattro(PyObject *self, PyObject*nameobj) } static PyObject * -BufferDir(PyObject *self UNUSED) +BufferDir(PyObject *self UNUSED, PyObject *args UNUSED) { return Py_BuildValue("[sssss]", "name", "number", "append", "mark", "range"); -- cgit v1.2.1