[Python-Dev] Missing operator.call

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 6 06:20:17 CET 2009


Hrvoje Niksic wrote:
> Is there a reason why the operator module doesn't have an operator.call 
> function?

I've been thinking about proposing an enhancement
concerning generators that would entail making
"call" a reserved word, so I'd be a little
disappointed if this name were used.

Maybe apply() could be reinstated and put into
the operator module?

-- 
Greg


More information about the Python-Dev mailing list