Py_RETURN_NOTIMPLEMENTED macro not available in 2.7

This commit is contained in:
Vincent Castellano 2015-05-31 23:24:21 -07:00
parent 05c52fd498
commit f6b14f633c
2 changed files with 2 additions and 2 deletions

View File

@ -999,7 +999,7 @@ tgl_Peer_RichCompare(PyObject *self, PyObject *other, int cmp)
case Py_GT:
case Py_LT:
default:
Py_RETURN_NOTIMPLEMENTED;
return Py_INCREF(Py_NotImplemented), Py_NotImplemented;
}
}
}

2
tgl

@ -1 +1 @@
Subproject commit 8754957b8467802f65fb8c133d3c46fd73295b49
Subproject commit 5a4e6b61839796e543d63900bb96e6325a9d9474