Skip to content

Commit

Permalink
Fix problem in DeeType_GetOperatorFlags()
Browse files Browse the repository at this point in the history
  • Loading branch information
GrieferAtWork committed Apr 21, 2024
1 parent 5f65541 commit f4ab63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deemon/runtime/operator_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ DeeType_GetOperatorFlags(DeeTypeObject const *__restrict self,
if (self->tp_cmp->tp_eq == &DeeObject_DefaultEqWithNe) {
effective_opname = OPERATOR_NE;
check_effective_opname:
result = DeeType_GetCustomOperatorById(self, opname);
result = DeeType_GetCustomOperatorById(self, effective_opname);
if (result)
return result->to_custom.s_flags;
}
Expand Down

0 comments on commit f4ab63a

Please sign in to comment.