[Python-ideas] An easier syntax for writing decorators(&similar things)?
Aaron Brady
castironpi at comcast.net
Thu Jan 24 06:55:56 CET 2008
> > def f( callback, *bar, **bkwar ):
> > def preg ( callfore, *far, **fkwar ):
> > sf= g( callback, callfore, bar, bkwar, far,
> fkwar )
> > return sf
> > return preg
> >
> > We see how to rewrite this one?
>
> The Python Ideas list is really intended as sort of a testing ground
> for potential PEPs. What is it that you're proposing to add to or
> remove from the language?
+1 on prepartial in functools.
More information about the Python-ideas
mailing list