Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Drop METH_STATIC since it breaks compat with Python Filter and Python…
Browse files Browse the repository at this point in the history
… 2.3
  • Loading branch information
R. Tyler Ballance committed Jun 22, 2009
1 parent 551fe77 commit f8e72a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/Cheetah.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef struct {
static PyObject *py_filter(PyObject *self, PyObject *args, PyObject *kwargs);

static struct PyMethodDef py_filtermethods[] = {
{"filter", (PyCFunction)(py_filter), METH_STATIC | METH_VARARGS | METH_KEYWORDS,
{"filter", (PyCFunction)(py_filter), METH_VARARGS | METH_KEYWORDS,
PyDoc_STR("Filter stuff")},
{NULL},
};
Expand Down

0 comments on commit f8e72a8

Please sign in to comment.