Skip to content

Commit c8713c1

Browse files
committed
call correct richcmp function
1 parent b008992 commit c8713c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/python_cext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def PyObject_IsInstance(obj, typ):
829829

830830
@may_raise
831831
def PyObject_RichCompare(left, right, op):
832-
left.__truffle_richcompare__(right, op)
832+
return do_richcompare(left, right, op)
833833

834834

835835
def PyObject_AsFileDescriptor(obj):

0 commit comments

Comments
 (0)