def METHOD_NAME(obj):
    """
    Retrieves the docstring for an object.
    Arguments:
    obj		--	An object.
    Returns:
    A docstring.
    """
    doc = u''
    if obj.__doc__ is None:
        return u'Auto-generated object.'
    for r in re.finditer(u'<DOC>(.*?)</DOC>', obj.__doc__, re.M | re.S):
        doc += r.groups()[0]
    if len(doc) == 0:
        doc = u'No docstring specified.'
    return doc