summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorandrewluotechnologies <44252973+andrewluotechnologies@users.noreply.github.com>2023-12-07 12:56:01 (GMT)
committerGitHub <noreply@github.com>2023-12-07 12:56:01 (GMT)
commit9c3458e05865093dd55d7608810a9d0ef0765978 (patch)
tree304468cca3e18ce9a584e1a6884e32dfe49550bf /Include
parentb449415b2f1b41e1c44cb453428657fdf6ff1d36 (diff)
downloadcpython-9c3458e05865093dd55d7608810a9d0ef0765978.zip
cpython-9c3458e05865093dd55d7608810a9d0ef0765978.tar.gz
cpython-9c3458e05865093dd55d7608810a9d0ef0765978.tar.bz2
gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False (#112504)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_typeobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_typeobject.h b/Include/internal/pycore_typeobject.h
index bbf8544..f983de5 100644
--- a/Include/internal/pycore_typeobject.h
+++ b/Include/internal/pycore_typeobject.h
@@ -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);