This is all really quite awesome, though I'm sure it'll be a while before
these are really available tools for me. I think I get(a bit more than) the
basic concept. Thanks!

> is a short-cut for this:
>
> def spam(n):
>     return "spam"*n
>
> spam = decorator(spam)
>
>
> This may be a lot to digest in one sitting. Factory functions,
> decorators, closures, they're all fantastically useful and powerful
> features of Python, but they can be a bit tricky for people to wrap
> their brains around.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to