![](https://secure.gravatar.com/avatar/3dd475b8aaa5292d74cb0c3f76c3f196.jpg?s=120&d=mm&r=g)
April 7, 2016
2:22 p.m.
On Thu, Apr 7, 2016, at 10:10, M.-A. Lemburg wrote:
I must be missing something... we already have a method for this: .__str__()
The point is to have a method that objects that "shouldn't" be used as strings in some contexts *won't* have, as floats (let alone strings) don't have __index__, even though they do have __int__.