2 May
2007
2 May
'07
3:20 p.m.
Hi Folks, Is there a way to write a C# class that has operators that work in Python? Currently, if I have a class with a method like the following: public static BDDNode operator +(BDDNode A, BDDNode B) { return A.BDDOr(B); } and try to add two BDDNode Objects in Python ith the "+" operator, I get the following: TypeError: unsupported operand type(s) for +: 'BDDNode' and 'BDDNode' Any way around this? Thanks, -Justin