Message176138
The tutorial doesn't seem to mention decorators, do you think this should be covered there?
FWIW while explaining decorators I usually use 3 examples:
1) a simple decorator that accepts a function, does something, and returns the same function;
2) a decorator that defines and returns an inner function;
3) a decorator factory, that defines two nested inner functions
Not sure if it's necessary to include the first example though. |
|
Date |
User |
Action |
Args |
2012-11-22 23:20:49 | ezio.melotti | set | recipients:
+ ezio.melotti, ncoghlan, eric.araujo, chris.jerdonek, docs@python |
2012-11-22 23:20:48 | ezio.melotti | set | messageid: <1353626448.98.0.91127425084.issue15474@psf.upfronthosting.co.za> |
2012-11-22 23:20:48 | ezio.melotti | link | issue15474 messages |
2012-11-22 23:20:48 | ezio.melotti | create | |
|