On Sep 27, 4:16 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
> process <[EMAIL PROTECTED]> writes:
> > ' '.join([`x * x` for x in range(1, 6)])
>
> > exactly what does this symbol do and what does it stand for?
>
> It's an obsolete, deprecated syntactic sugar for (what is now
> implemented as) the built-in 'repr' function.
>
> Instead, write the above as:
>
>     ' '.join([repr(x * x) for x in range(1, 6)])
>
I'd classify it as one of Guido's mistakes! :-)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to