Dan Sugalski <[EMAIL PROTECTED]> wrote:

> I just went digging through the docs to make sure I knew what was going
> on. __repr__ is the python-visible name for our get_string vtable method.
> We don't need any support beyond tying names together in the namespaces,
> so far as I can see.

Sure?

>>> x=0.3
>>> str(x)
'0.3'
>>> repr(x)
'0.29999999999999999'
>>> s="a\n"
>>> str(s)
'a\n'
>>> repr(s)
"'a\\n'"

>                                       Dan

leo

Reply via email to