[IronPython] What C# methods do __repr__ and __str__ use?

Douglas S. Blank dblank at brynmawr.edu
Fri May 23 20:27:40 CEST 2008

I have some C# code that I'm loading in IronPython2B2. What method name
and signature do I need to add to a class so that the Python repr(obj)
will use it? Likewise, what C# method is used in Python's str(obj)?


Douglas S. Blank
Associate Professor, Bryn Mawr College
Office: 610 526 6501

More information about the Ironpython-users mailing list