What is '@' for

Terry Reedy tjreedy at udel.edu
Fri Nov 13 18:43:28 EST 2015


On 11/13/2015 6:04 PM, fl wrote:

> I read the following code snippet. A question is here about '@'.
> I don't find the answer online yet.

Start with the index of the fine docs, which includes symbols.
https://docs.python.org/3/genindex-Symbols.html
'@' is near the end of the page.

> @pymc.deterministic
> def theta(a=alpha, b=beta):


-- 
Terry Jan Reedy




More information about the Python-list mailing list