[Python-Dev] Another approach to decorators.
Michel Pelletier
michel at dialnetwork.com
Wed Aug 11 23:28:02 CEST 2004
More information about the Python-Dev mailing list
Wed Aug 11 23:28:02 CEST 2004
- Previous message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Next message: [Python-Dev] Another approach to decorators.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 11 Aug 2004 14:23:54 -0700 Michel Pelletier <michel at dialnetwork.com> wrote: > > Put more than one of them in the same decorate block: > > class ... > > decorate staticmethod, locksFile(arg1): > > def meth1(...) > ... > > def meth2(...) > ... Oh, and also for many decorators that look better spanning several lines, use the same syntax proposed for multi-line imports: class ... decorate (staticmethod, blah, blah, locksFile(arg1)): def meth1(...) ... def meth2(...) ... -Michel
- Previous message: [Python-Dev] Unifying Long Integers and Integers: baseint
- Next message: [Python-Dev] Another approach to decorators.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list