Self function
Aaron Brady
castironpi at gmail.com
Wed May 6 08:56:17 EDT 2009
On May 6, 2:23 am, Arnaud Delobelle <arno... at googlemail.com> wrote:
> On May 5, 10:20 pm, Aaron Brady <castiro... at gmail.com> wrote:
>
> > def auto( f ):
> > def _inner( *ar, **kw ):
> > return f( _inner, *ar, **kw )
> > return _inner
>
> Quoting myself near the start of this thread:
>
> Here's an idea:
>
> >>> def bindfunc(f):
>
> ... def boundf(*args, **kwargs):
> ... return f(boundf, *args, **kwargs)
> ... return boundf
>
> --
> Arnaud
Yeah, but that was two days ago.
More information about the Python-list
mailing list