Issue #1717, stage 2: remove uses of tp_compare in Modules and most
Objects.
diff --git a/PC/winreg.c b/PC/winreg.c
index 3abefa8..8a4a215 100644
--- a/PC/winreg.c
+++ b/PC/winreg.c
@@ -326,7 +326,7 @@
"Operations:\n"
"__bool__ - Handles with an open object return true, otherwise false.\n"
"__int__ - Converting a handle to an integer returns the Win32 handle.\n"
-"__cmp__ - Handle objects are compared using the handle value.");
+"rich comparison - Handle objects are compared using the handle value.");
PyDoc_STRVAR(PyHKEY_Close_doc,
@@ -485,7 +485,7 @@
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- PyHKEY_compareFunc, /* tp_compare */
+ 0, /* tp_compare */
0, /* tp_repr */
&PyHKEY_NumberMethods, /* tp_as_number */
0, /* tp_as_sequence */