summaryrefslogtreecommitdiff
path: root/Modules/xxlimited.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-19 11:06:26 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-19 11:06:26 +0300
commit2b4338c5e090fa94a32d5cd7154aef5dfe25e6da (patch)
tree665a409563a70f93da9fb962f7a7da81aee8b93f /Modules/xxlimited.c
parent0ab6fc6fe33837bc950d2cb0a5cf2a25579f8f3e (diff)
parent22388c044ed1680554f5c8b1ef9dc1deaa84ad08 (diff)
downloadcpython-2b4338c5e090fa94a32d5cd7154aef5dfe25e6da.tar.gz
Merge with 3.2.
Diffstat (limited to 'Modules/xxlimited.c')
-rw-r--r--Modules/xxlimited.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index ec924f2117..661b6e294a 100644
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -187,8 +187,7 @@ static PyType_Spec Str_Type_spec = {
static PyObject *
null_richcompare(PyObject *self, PyObject *other, int op)
{
- Py_INCREF(Py_NotImplemented);
- return Py_NotImplemented;
+ Py_RETURN_NOTIMPLEMENTED;
}
static PyType_Slot Null_Type_slots[] = {