1.5.2 and functools or similar

Terry Reedy tjreedy at udel.edu
Sun Mar 9 19:23:25 EDT 2008


"Troels Thomsen" <"nej tak..."@bag.python.org> wrote in message 
news:47d45625$0$15876$edfadb0f at dtext01.news.tele.dk...
| def updateTimers()
|  for timerItm in timerTable:
|  ...
|    ....
|      ....
|        timerItm.func(*timerItm.parameters)
|
| Works well on python 2.5 but not on 1.5.2 (?)

apply(timerItm.func, timerItm.parameters) # see
http://docs.python.org/lib/non-essential-built-in-funcs.html
apply disappears in 3.0

tjr






More information about the Python-list mailing list