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)])

-- 
 \           “Killing the creator was the traditional method of patent |
  `\                        protection” —Terry Pratchett, _Small Gods_ |
_o__)                                                                  |
Ben Finney
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to