We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a22a2a8 commit 89d01e9Copy full SHA for 89d01e9
userbenchmark/dynamo/dynamobench/_dynamo/utils.py
@@ -1008,6 +1008,16 @@ def is_function(value):
1008
)
1009
1010
1011
+cmp_name_to_op_mapping = {
1012
+ "__eq__": operator.eq,
1013
+ "__ne__": operator.ne,
1014
+ "__lt__": operator.lt,
1015
+ "__le__": operator.le,
1016
+ "__gt__": operator.gt,
1017
+ "__ge__": operator.ge,
1018
+}
1019
+
1020
1021
def is_wrapper_or_member_descriptor(value):
1022
return isinstance(
1023
value,
0 commit comments