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

Toni Alatalo antont at kyperjokki.fi
Fri May 23 12:37:18 PDT 2008


Douglas S. Blank kirjoitti:
> will use it? Likewise, what C# method is used in Python's str(obj)?
>   

i don't know, but would guess ToString() .. and wonder about it if it 
wasn't that but something else :o
repr() can't guess, i don't think there's an equivalent in .net, but can 
very well be mistaken there.

> -Doug
>   

~Toni



More information about the Users mailing list