File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ static OperatorMethod()
49
49
[ "op_OnesComplement" ] = new SlotDefinition ( "__invert__" , TypeOffset . nb_invert ) ,
50
50
[ "op_UnaryNegation" ] = new SlotDefinition ( "__neg__" , TypeOffset . nb_negative ) ,
51
51
[ "op_UnaryPlus" ] = new SlotDefinition ( "__pos__" , TypeOffset . nb_positive ) ,
52
+ [ "op_OneComplement" ] = new SlotDefinition ( "__invert__" , TypeOffset . nb_invert ) ,
53
+ [ "op_GreaterThan" ] = new SlotDefinition ( "__gt__" , TypeOffset . tp_richcompare ) ,
54
+ [ "op_GreaterThanOrEqual" ] = new SlotDefinition ( "__ge__" , TypeOffset . tp_richcompare ) ,
55
+ [ "op_LessThan" ] = new SlotDefinition ( "__lt__" , TypeOffset . tp_richcompare ) ,
56
+ [ "op_LessThanOrEqual" ] = new SlotDefinition ( "__le__" , TypeOffset . tp_richcompare )
52
57
} ;
53
58
}
54
59
You can’t perform that action at this time.
0 commit comments