summaryrefslogtreecommitdiffstats
path: root/Python/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/context.c')
-rw-r--r--Python/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/context.c b/Python/context.c
index 9ac5187..c94c014 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1267,7 +1267,7 @@ PyTypeObject _PyContextTokenMissing_Type = {
static PyObject *
get_token_missing(void)
{
- return Py_NewRef(&_Py_SINGLETON(context_token_missing));
+ return (PyObject *)&_Py_SINGLETON(context_token_missing);
}