[Python-Dev] Re: accumulator display syntax

Paul Moore pf_moore at yahoo.co.uk
Fri Oct 17 16:52:14 EDT 2003


"Phillip J. Eby" <pje at telecommunity.com> writes:

> At 06:52 PM 10/17/03 +0200, Alex Martelli wrote:
>>I assume you'd consider
>>     selector = Top.__get__(10)
>>some kind of abuse, and besides, this 'currying' isn't very general).
>
> Hmmm...  that's a hideously sick hack to perform currying...  but I
> *like* it.  :)

Urk. I just checked, and this works. But I haven't the foggiest idea
why! Could someone please explain? If you do, I promise never to
reveal who told me :-)

Paul.
-- 
This signature intentionally left blank




More information about the Python-Dev mailing list