def METHOD_NAME(self, object_, signature_override: str):
    subblocks = []
    if self.project_url is not None:
        subblocks.append(utils.make_source_link(object_, self.project_url))
    signature = get_signature(
        object_, signature_override, self.max_signature_line_length
    )
    signature = self.process_signature(signature)
    subblocks.append(f"{self.titles_size} {object_.__name__}\n")
    subblocks.append(utils.code_snippet(signature))
    docstring = getdoc(object_)
    if docstring:
        if isclass(object_):
            type_hints = get_type_hints(object_.__init__)
        else:
            type_hints = get_type_hints(object_)
        docstring = self.process_docstring(docstring, type_hints)
        subblocks.append(docstring)
    return "\n\n".join(subblocks) + "\n\n----\n\n"