functools possibilities

castironpi at gmail.com castironpi at gmail.com
Sat Feb 2 05:59:46 CET 2008


1. functools.partialpre: partialpre( f, x, y )( z )-> f( z, x, y )
2. functools.pare: pare( f, 1 )( x, y )-> f( y )
3. functools.parepre: parepre( f, 1 )( x, y )-> f( x )
4. functools.calling_default: calling_default( f, a, DefaultA, b )->
f( a, <default 2rd arg, even if not None>, b )



More information about the Python-list mailing list