def remove_doc(func, src, ind):
    """docstrings already shown"""
    d, a1, a2 = func.__doc__ or 'xxx-xxx', "'''", '"""'
    for a in (a1, a2):
        ads = '%s%s%s' % (a, d, a)
        k = src.split(ads, 1)
        if len(k) < 2:
            continue
        return k[0].rstrip() + '\n' + (' ' * ind + ' ' * 4) + k[1].strip()
    return src
