Function wrappers

castironpi at gmail.com castironpi at gmail.com
Wed Jan 23 21:16:01 EST 2008


	def f( callback, *bar, **bkwar ):
		def preg ( callfore, *far, **fkwar ):
			return g( callback, callfore, bar, bkwar, far, fkwar )
		return preg

Does anyone see a way to rewrite this, perhaps along the lines of
partial( partial, partial )?  Ok to modify 'g' call.



More information about the Python-list mailing list