summaryrefslogtreecommitdiff
path: root/Python/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/context.c')
-rw-r--r--Python/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/context.c b/Python/context.c
index d6ef5b337c..7531f1440b 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1141,14 +1141,14 @@ error:
}
static PyObject *
-token_get_var(PyContextToken *self)
+token_get_var(PyContextToken *self, void *Py_UNUSED(ignored))
{
Py_INCREF(self->tok_var);
return (PyObject *)self->tok_var;
}
static PyObject *
-token_get_old_value(PyContextToken *self)
+token_get_old_value(PyContextToken *self, void *Py_UNUSED(ignored))
{
if (self->tok_oldval == NULL) {
return get_token_missing();