4 ms·
On the contrary, it has had decorators since Python 2.4.
by i80and 16y ago
On the contrary, it has had decorators since Python 2.4.
- silentbicycle 16y ago"decorations", not "decorators". I think it's fairly clear from context that he/she means, "not a lot of red tape", rather than a reference to specific language features.
- i80and 16y agoPEP-318 (http://www.python.org/dev/peps/pep-0318/ http://www.python.org/dev/peps/pep-0318/) refers to a decorated functions as a having a decoration. Counter-edit: My response was in jest. I deliberately misinterpreted the term for humorous purposes.