[Python.NET] Question about operators
justin.frost at gmail.com
Thu May 3 00:20:28 CEST 2007
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)
and try to add two BDDNode Objects in Python ith the "+" operator, I get the
TypeError: unsupported operand type(s) for +: 'BDDNode' and 'BDDNode'
Any way around this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PythonDotNet