def robust_wraps(wrapper):
 def _(wrapped):
  wrapped.__doc__ = wrapper.__doc__
  return wrapped
 return _

def robust_wraps ( wrapper ) : def _ ( wrapped ) : wrapped . __doc__ = wrapper . __doc__ return wrapped return _
a weak version of wraps that only copies doc .