decorators when?

Diez B. Roggisch deets at nospam.web.de
Tue May 27 08:50:23 EDT 2008


David C. Ullrich wrote:

> What version added decorators (using the
> @decorator syntax)?
> 
> (Is there a general way I could have found out the answer myself?)
> 
> Is there a somthing such that "from __future__ import something"
> will make decorators work in 2.5.2?

They do work. They were introduced in python2.4

Diez



More information about the Python-list mailing list