[Tutor] basic decorator question

bruce badouglas at gmail.com
Mon Jul 24 10:33:25 EDT 2017


Hi.

I've seen sites discuss decorators, as functions that "wrap" and
return functions.

But, I'm sooo confuzed! My real question though, can a decorator have
multiple internal functions? All the examples I've seen so far have a
single internal function.

And, if a decorator can have multiple internal functions, how would
the calling sequence work?

But as a start, if you have pointers to any really "basic" step by
step sites/examples I can look at, I'd appreciate it. I suspect I'm
getting flumoxed by something simple.

thanks


More information about the Tutor mailing list