def modifydocs(a, b, desc='<STR_LIT>'):
newdoc = a.func_doc.replace('<STR_LIT>', '<STR_LIT:\t>')<EOL>newdoc += "<STR_LIT>" + desc + "<STR_LIT>" + b.func_doc<EOL>return newdoc<EOL>
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`.