def decorate_fn_with_doc(new_fn, old_fn, additional_text=''):
 def wrapper(*args, **kw):
  return new_fn(*args, **kw)
 if old_fn.__doc__:
  wrapper.__doc__ = (old_fn.__doc__ + additional_text)
 return wrapper

def decorate_fn_with_doc ( new_fn , old_fn , additional_text = '' ) : def wrapper ( * args , ** kw ) : return new_fn ( * args , ** kw ) if old_fn . __doc__ : wrapper . __doc__ = ( old_fn . __doc__ + additional_text ) return wrapper
make new_fn have old_fns doc string .