Convenience function for writing documentation.

    For a class method `a` that is essentially a wrapper for an outside 
    function `b`, rope in the docstring from `b` and append to that of `a`.  
    Also modify the docstring of `a` to get the indentation right.
    
    Will probably deprecate this soon.

    **Parameters**

		**a** :  class method

			Class method wrapping `b`.

		**b** :  function

			Function wrapped by `a`.

		**desc** :  string, optional

			Description of `b`, e.g. restructured text providing a link to the 
			documentation for `b`.  Default is an empty string.

    **Returns**

		**newdoc** :  string

			New docstring for `a`.

def modifydocs(a, b, desc=''):
    """
    Convenience function for writing documentation.

    For a class method `a` that is essentially a wrapper for an outside 
    function `b`, rope in the docstring from `b` and append to that of `a`.  
    Also modify the docstring of `a` to get the indentation right.
    
    Will probably deprecate this soon.

    **Parameters**

		**a** :  class method

			Class method wrapping `b`.

		**b** :  function

			Function wrapped by `a`.

		**desc** :  string, optional

			Description of `b`, e.g. restructured text providing a link to the 
			documentation for `b`.  Default is an empty string.

    **Returns**

		**newdoc** :  string

			New docstring for `a`.

    """
    newdoc = a.func_doc.replace('\t\t', '\t')
    newdoc += "Documentation from " + desc + ":\n" + b.func_doc
    return newdoc