def METHOD_NAME(self):
    env = self.state.document.settings.env
    name = None
    if self.arguments:
        m = re.match(r'^(.*\s+)?(.*?)(\(.*)?', self.arguments[0])
        name = m.group(2).strip()
    if not name:
        name = self.arguments[0]
    lines = list(self.content)
    mangle_docstrings(env.app, objtype, name, None, None, lines)
    self.content = ViewList(lines, self.content.parent)
    return base_directive.METHOD_NAME(self)