def SpiceUDREPI(f):
@functools.wraps(f)<EOL>def wrapping_udrepi(cnfine, srcpre, srcsurf):<EOL><INDENT>f(cnfine, srcpre, srcsurf)<EOL><DEDENT>return UDREPI(wrapping_udrepi)<EOL>
Decorator for wrapping python functions in spice udfrepi callback type
:param f: function to be wrapped
:type f: builtins.function
:return: wrapped udrepi function
:rtype: builtins.function