summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-21 19:01:55 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-21 19:01:55 +0200
commit182dc4f2abe6ae6fd20a6c089c3adf45c8b1334d (patch)
tree239bb2494ef19b5ec4ca813320ab733e52dbb9b6 /src/if_python3.c
parente64faa6645377b958e7e5f6a273521063312792c (diff)
updated for version 7.3.994v7.3.994
Problem: Python: using magic constants. Solution: Use descriptive values for ml_flags. (ZyX)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 6a6ed7be85..0620e0395a 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 *, PyObject *);
+static PyObject *BufferDir(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, PyObject *args UNUSED)
+BufferDir(PyObject *self UNUSED)
{
return Py_BuildValue("[sssss]", "name", "number",
"append", "mark", "range");