{SPAM?} Decorators? Why have a special construct to support apattern?

Discussion in 'Python' started by Simon Wittber, Aug 12, 2004.

  1. Decorators...

    Why do we need a special construct to support a pattern?

    Do lots of people really use decorators that often?

    Simon Wittber, Aug 12, 2004
    1. Advertisements

  2. I think that with decorators available, their usage will greatly
    increase. With having to write foo = decorator(foo), I daresay nobody
    got the idea to write function-wrappers that function like this.

    Reinhold Birkenfeld, Aug 13, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.