diff options
author | Brian Curtin <brian@python.org> | 2011-08-11 01:28:54 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2011-08-11 01:28:54 (GMT) |
commit | dfc80e3d97680ee26e509daba4a08502fefe22ee (patch) | |
tree | f28c4978ce126c4308a45aa594f0f2c86dfc1965 /Modules/xxlimited.c | |
parent | 7d2f9e13424fe74814e14cf92d7bbd779917a5c5 (diff) | |
download | cpython-dfc80e3d97680ee26e509daba4a08502fefe22ee.zip cpython-dfc80e3d97680ee26e509daba4a08502fefe22ee.tar.gz cpython-dfc80e3d97680ee26e509daba4a08502fefe22ee.tar.bz2 |
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
The macro was introduced in #12724.
Diffstat (limited to 'Modules/xxlimited.c')
-rw-r--r-- | Modules/xxlimited.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c index ec924f2..661b6e2 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[] = { |