def insert_meta_param_description(*args, **kwargs):
 if (not args):
  return (lambda f: insert_meta_param_description(f, **kwargs))
 f = args[0]
 if f.__doc__:
  indent = (' ' * kwargs.get('pad', 8))
  body = textwrap.wrap(_META_DESCRIPTION, initial_indent=indent, subsequent_indent=indent, width=78)
  descr = '{0}\n{1}'.format(_META_TYPES, '\n'.join(body))
  f.__doc__ = f.__doc__.replace('$META', descr)
 return f

def insert_meta_param_description ( * args , ** kwargs ) : if ( not args ) : return ( lambda f : insert_meta_param_description ( f , ** kwargs ) ) f = args [ 0 ] if f . __doc__ : indent = ( ' ' * kwargs . get ( 'pad' , 8 ) ) body = textwrap . wrap ( _META_DESCRIPTION , initial_indent = indent , subsequent_indent = indent , width = 78 ) descr = '{0}\n{1}' . format ( _META_TYPES , '\n' . join ( body ) ) f . __doc__ = f . __doc__ . replace ( '$META' , descr ) return f
replace $meta in docstring with param description .