Browse Source

oops, disable broken rich compare for now

rdb 13 years ago
parent
commit
da44b3ae3b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dtool/src/interrogate/interfaceMakerPythonNative.cxx

+ 3 - 3
dtool/src/interrogate/interfaceMakerPythonNative.cxx

@@ -1742,9 +1742,9 @@ write_module_class(ostream &out, Object *obj) {
     out << "#endif\n";
   }
 
-  if (has_local_richcompare) {
-    out << "        Dtool_" << ClassName << ".As_PyTypeObject().tp_richcompare = &Dtool_RichCompare_" << ClassName << ";\n";
-  }
+//  if (has_local_richcompare) {
+//    out << "        Dtool_" << ClassName << ".As_PyTypeObject().tp_richcompare = &Dtool_RichCompare_" << ClassName << ";\n";
+//  }
 
   if (has_local_repr) {
     out << "        // __repr__\n";