> As to who suggested them you'd need to go back through the > PEPs to see who first suggested it, and then maybe more to see > who's idea finally got accepted. I think it was in Python 2.5.
Hi Bruce, Yes, it happened back around 2003: https://www.python.org/dev/peps/pep-0318/ Decorators are "syntactic sugar" in the sense that they can be rewritten in terms of more primitive parts of the language (function calls). If you already know about functions that work on functions, then you know what decorators are. However, if you haven't seen the concept of functions that take functions as input, and you want to talk about that, feel free to ask questions! It would likely be a "fun" discussion to have. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor