On 28/07/07, Stef Mientki <[EMAIL PROTECTED]> wrote:
> but I can;t find the answer ;-)
>
> As searching for the '$' sign doesn't work well in the help files,
> I can not find out, where is the '$' sign used for.
>
> If I try to use it in names,
> I get a compiler error,
> so it probably has some special meaning.

Hi Stef,

It has no special meaning in the Python language, beyond being invalid
for use in identifiers. I believe there is a new string formatting
module which interprets it when it is part of a format string, but
nothing in the core language.

If you look at the language grammar, you can see why this is an error

    http://docs.python.org/ref/identifiers.html


David.


>
> thanks,
> Stef Mientki
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to