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()
4949 [ "op_OnesComplement" ] = new SlotDefinition ( "__invert__" , TypeOffset . nb_invert ) ,
5050 [ "op_UnaryNegation" ] = new SlotDefinition ( "__neg__" , TypeOffset . nb_negative ) ,
5151 [ "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 )
5257 } ;
5358 }
5459
You can’t perform that action at this time.
0 commit comments