variables preceeded with @

Thomas Girod girodt at gmail.com
Tue Feb 7 09:17:33 EST 2006


Hello there.

I recently started looking at turbogears and I found code such as :

 class Root(controllers.Root):
     @turbogears.expose(html="blog.templates.accueil")
     def index(self,**kw):
         return dict()


What is this "@" ? I looked around but couldn't find any references to
this syntax.

Thomas




More information about the Python-list mailing list