[Python-Dev] decorate-sort-undecorate
Phillip J. Eby
pje at telecommunity.com
Mon Oct 13 19:25:57 EDT 2003
More information about the Python-Dev mailing list
Mon Oct 13 19:25:57 EDT 2003
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 07:14 PM 10/13/03 -0400, Tim Peters wrote: >Alas, in decorator=function syntax, there's no clear way in general to write >function so that it knows the index of the object passed to it. Why not just have the decoration be (key,index,value) then? Why does the key function need the index?
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list