Function wrappers

castironpi at castironpi at
Thu Jan 24 03:16:01 CET 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