mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False (#112504)
This commit is contained in:
parent
b449415b2f
commit
9c3458e058
5 changed files with 15 additions and 1 deletions
|
|
@ -135,6 +135,8 @@ extern PyObject* _Py_type_getattro_impl(PyTypeObject *type, PyObject *name,
|
|||
int *suppress_missing_attribute);
|
||||
extern PyObject* _Py_type_getattro(PyTypeObject *type, PyObject *name);
|
||||
|
||||
extern PyObject* _Py_BaseObject_RichCompare(PyObject* self, PyObject* other, int op);
|
||||
|
||||
extern PyObject* _Py_slot_tp_getattro(PyObject *self, PyObject *name);
|
||||
extern PyObject* _Py_slot_tp_getattr_hook(PyObject *self, PyObject *name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue