[IronPython] repr on c# class

Kamil Dworakowski kamil at dworakowski.name
Thu Jul 10 18:53:23 CEST 2008

I need to define repr method in c#, for use in IronPython. I tried:

        public static object Repr(object o) {
            return o.ToString();

which didn't work. Is there a way without subclassing in Python?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080710/8b5ae453/attachment.html>

More information about the Ironpython-users mailing list