On Mar 18, 3:53 pm, "7stud" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I can't find any documentation for the * operator when applied in
> front of a name.  Is it a pointer?
>
> What about the @ operator?
>
> Are there python names for these operators that would make searching
> for documentation on them more fruitful?
>
> Thanks

For the *star, see apply here:
http://docs.python.org/lib/non-essential-built-in-funcs.html

For example:
aFunction(*(1,2,3))
is equivalent to:
aFunction(1,2,3)

For the @ symbol, I assume you mean function decorators:
http://docs.python.org/ref/function.html

For example:
@someDecorator
def someFunc(): pass
is equivalent to:
def someFunc(): pass
someFunc = someDecorator(someFunc)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to