I need to define repr method in c#, for use in IronPython. I tried: <br><br> [PythonName("repr")]<br> public static object Repr(object o) {<br> return o.ToString();<br> }<br><br>
<br>which didn't work. Is there a way without subclassing in Python?<br><br>--<br>Kamil<br>